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
..
2023-01-27 20:10:17 +00:00
2023-11-24 19:15:52 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-10-02 23:14:29 +00:00
2023-07-03 21:40:04 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2023-07-07 13:13:18 +00:00
2023-11-24 19:15:52 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-07-07 13:13:18 +00:00
2023-09-21 22:20:58 +02:00
2023-07-07 13:13:18 +00:00
2024-01-02 14:17:56 +00:00
2023-07-07 13:13:18 +00:00
2023-09-21 22:20:58 +02:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-04-12 16:17:31 +00:00
2023-11-24 19:15:52 +01:00
2023-04-12 16:17:31 +00:00
2023-11-24 19:15:52 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-11-24 19:15:52 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2024-01-02 14:17:56 +00:00
2024-01-11 16:55:10 +11:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-04-12 16:17:31 +00:00
2023-11-24 19:15:52 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2023-11-24 19:15:52 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2023-11-24 19:15:52 +01:00
2023-01-11 16:29:25 +00:00