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-05 14:48:53 +00:00
2024-01-11 16:55:10 +11:00
2023-12-29 10:01:53 +00:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2024-01-02 15:34:37 -05:00
2023-12-13 23:07:10 +00:00
2023-12-02 09:01:19 +11:00
2023-12-19 13:35:37 -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-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
2023-12-05 19:53:59 +00:00
2024-01-09 21:08:16 +00:00
2023-12-14 15:22:37 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2023-12-27 12:51:32 +01:00
2023-12-28 14:53:23 +01:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2023-12-07 23:00:46 -05:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-14 15:22:37 +01:00
2023-12-05 19:53:59 +00:00
2023-12-05 19:53:59 +00:00
2023-12-05 19:53:59 +00:00
2023-12-05 19:53:59 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00