rust/compiler/rustc_errors/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
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
annotate_snippet_emitter_writer.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
diagnostic_builder.rs Bump rustfmt version 2021-02-02 09:09:52 -05:00
diagnostic.rs Add --extern-loc to augment unused crate dependency diagnostics 2021-02-07 14:54:20 -08:00
emitter.rs nhwn: optimize counting digits in line numbers 2021-02-18 08:20:07 -06:00
json.rs Make sure all fields are accounted for in encode_fields! 2021-02-07 14:54:22 -08:00
lib.rs nhwn: make treat_err_as_bug Option<NonZeroUsize> 2021-02-18 05:27:20 -06:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
snippet.rs Bump rustfmt version 2021-02-02 09:09:52 -05:00
styled_buffer.rs Reduce tab formatting assertions to debug only 2021-02-03 17:17:15 +00:00