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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infinite-impl-trait-issue-38064.stderr Bless tests. 2023-01-27 20:10:17 +00:00
issue-21659-show-relevant-trait-impls-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49376.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52128.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53457.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-57464-unexpected-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-57979-deeply-nested-impl-trait-in-assoc-proj.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-62742.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
issue-65581.rs Remove compare mode 2023-07-03 21:40:04 +00:00
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 Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
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 Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
issue-74282.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
issue-77987.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78722-2.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
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 Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
issue-78722.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
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 Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-82139.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83919.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-86719.stderr Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
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 Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88236.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89312.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99348-impl-compatibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105826.rs Do not filter substs in remap_generic_params_to_declaration_params. 2023-01-11 16:29:25 +00:00