We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126e3df commit 398e778Copy full SHA for 398e778
compiler/rustc_errors/src/lib.rs
@@ -1447,7 +1447,7 @@ impl HandlerInner {
1447
self.flags.treat_err_as_bug.map(|c| c.get()).unwrap_or(0),
1448
) {
1449
(1, 1) => panic!("aborting due to `-Z treat-err-as-bug=1`"),
1450
- (0, _) | (1, _) => {}
+ (0 | 1, _) => {}
1451
(count, as_bug) => panic!(
1452
"aborting after {} errors due to `-Z treat-err-as-bug={}`",
1453
count, as_bug,
0 commit comments