Nicholas Nethercote
2aac288c18
Use the right level with -Ztreat-err-as-bug
.
...
Errors in `DiagCtxtInner::emit_diagnostic` are never set to
`Level::Bug`, because the condition never succeeds, because
`self.treat_err_as_bug()` is called *before* the error counts are
incremented.
This commit switches to `self.treat_next_err_as_bug()`, fixing the
problem. This changes the error message output to actually say "internal
compiler error".
2024-01-11 16:55:10 +11:00
..
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 22:50:49 +00:00
2024-01-08 15:03:59 +00:00
2024-01-09 21:08:16 +00:00
2024-01-11 16:55:10 +11:00
2024-01-09 21:08:16 +00:00
2024-01-09 19:25:54 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-07 19:28:00 +00:00
2024-01-09 22:50:49 +00:00
2024-01-09 21:08:16 +00:00
2024-01-08 19:41:01 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 09:20:33 +00:00
2024-01-11 16:55:10 +11:00
2024-01-09 21:08:16 +00:00
2024-01-09 22:50:49 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 00:19:35 +01:00
2024-01-09 13:23:15 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-11 16:55:10 +11:00
2024-01-09 21:08:16 +00:00
2024-01-10 14:50:48 +01:00
2024-01-09 22:50:49 +00:00
2024-01-08 15:25:55 -05:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-10 06:28:45 +01:00
2024-01-11 16:55:10 +11:00
2024-01-10 08:52:44 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-07 20:48:31 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00