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-07 17:29:25 +03:00
2024-01-05 19:13:52 +03:00
2024-01-05 09:30:27 +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
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-05 10:00:59 +00:00
2024-01-09 22:50:49 +00:00
2024-01-07 08:56:20 -08:00
2024-01-08 15:03:59 +00:00
2024-01-05 09:30:27 +00:00
2024-01-09 21:08:16 +00:00
2024-01-11 16:55:10 +11:00
2024-01-05 20:39:53 +01:00
2024-01-09 21:08:16 +00:00
2024-01-09 19:25:54 +00:00
2024-01-05 15:23:10 +01:00
2024-01-09 21:08:16 +00:00
2024-01-07 17:29:25 +03:00
2024-01-09 21:08:16 +00:00
2024-01-07 19:28:00 +00:00
2024-01-05 19:13:52 +03:00
2024-01-09 22:50:49 +00:00
2024-01-06 16:07:46 +01: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-07 17:29:25 +03:00
2024-01-11 16:55:10 +11:00
2024-01-05 10:00:59 +00: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-05 04:51:55 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 00:19:35 +01:00
2024-01-05 09:30:27 +00:00
2024-01-05 04:51:55 +00:00
2024-01-05 19:13:52 +03:00
2024-01-05 10:57:22 -05:00
2024-01-05 04:51:55 +00:00
2024-01-09 13:23:15 +01:00
2024-01-05 18:49:25 +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-05 15:23:09 +01:00
2024-01-05 09:30:27 +00:00
2024-01-05 21:56:32 +01:00
2024-01-09 22:50:49 +00:00
2024-01-05 09:30:27 +00:00
2024-01-07 08:56:20 -08:00
2024-01-08 15:25:55 -05:00
2024-01-05 09:30:27 +00:00
2024-01-05 09:30:27 +00:00
2024-01-05 04:51:55 +00:00
2024-01-09 21:08:16 +00:00
2024-01-07 17:29:25 +03:00
2024-01-07 17:29:25 +03:00
2024-01-05 10:56:59 +00:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-01-07 17:29:25 +03:00
2024-01-05 10:00:59 +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-05 10:00:59 +00: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-05 10:00:59 +00:00
2024-01-05 10:00:59 +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