rust/tests/ui/impl-trait/issues
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
..
infinite-impl-trait-issue-38064.rs
infinite-impl-trait-issue-38064.stderr
issue-21659-show-relevant-trait-impls-3.rs
issue-21659-show-relevant-trait-impls-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-42479.rs
issue-49376.rs
issue-52128.rs
issue-53457.rs
issue-54600.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-54600.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-54840.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-54840.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-54895.rs
issue-54895.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-55608-captures-empty-region.rs
issue-57464-unexpected-regions.rs
issue-57979-deeply-nested-impl-trait-in-assoc-proj.rs
issue-57979-deeply-nested-impl-trait-in-assoc-proj.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-57979-impl-trait-in-path.rs
issue-57979-impl-trait-in-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-57979-nested-impl-trait-in-assoc-proj.rs
issue-57979-nested-impl-trait-in-assoc-proj.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-58504.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-58504.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-58956.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-58956.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-62742.rs
issue-62742.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
issue-65581.rs
issue-67830.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-67830.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-70877.rs
issue-70877.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70971.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-70971.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-74282.rs
issue-74282.stderr
issue-77987.rs
issue-78722-2.rs
issue-78722-2.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
issue-78722.rs
issue-78722.stderr
issue-79099.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-79099.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-82139.rs
issue-82139.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83919.rs
issue-83919.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83929-impl-trait-in-generic-default.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-83929-impl-trait-in-generic-default.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-84073.rs
issue-84073.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84919.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-84919.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-86201.rs
issue-86642.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-86642.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-86719.rs
issue-86719.stderr
issue-86800.rs Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
issue-86800.stderr Use the right level with -Ztreat-err-as-bug. 2024-01-11 16:55:10 +11:00
issue-87295.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-87295.stderr Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
issue-87340.rs
issue-87340.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88236-2.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-88236-2.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-88236.rs
issue-88236.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89312.rs
issue-92305.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-92305.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-93788.rs
issue-99348-impl-compatibility.rs
issue-99348-impl-compatibility.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-104815.rs
issue-105826.rs