rust/compiler/rustc_interface/src
Dylan DPC 0e5bca5f51
Rollup merge of #82255 - nhwn:nonzero-err-as-bug, r=davidtwco
Make `treat_err_as_bug` Option<NonZeroUsize>

`rustc -Z treat-err-as-bug=N` already requires `N` to be nonzero when the argument is parsed, so changing the type from `Option<usize>` to `Option<NonZeroUsize>` is a low-hanging fruit in terms of layout optimization.
2021-02-23 02:51:55 +01:00
..
callbacks.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
interface.rs Move try_print_query_stack to rustc_interface. 2021-02-19 17:51:55 +01:00
lib.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
passes.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
proc_macro_decls.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
queries.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
tests.rs nhwn: make treat_err_as_bug Option<NonZeroUsize> 2021-02-18 05:27:20 -06:00
util.rs Move handle_deadlock where it is used. 2021-02-19 17:51:55 +01:00