granite-rust/tests/ui/object-safety
bors ee9c7c940c Auto merge of #120847 - oli-obk:track_errors9, r=compiler-errors
Continue compilation after check_mod_type_wf errors

The ICEs fixed here were probably reachable through const eval gymnastics before, but now they are easily reachable without that, too.

The new errors are often bugfixes, where useful errors were missing, because they were reported after the early abort. In other cases sometimes they are just duplication of already emitted errors, which won't be user-visible due to deduplication.

fixes https://github.com/rust-lang/rust/issues/120860
2024-02-14 18:32:19 +00:00
..
assoc_const_bounds.rs Update existing UI tests 2023-07-28 22:23:21 +02:00
assoc_const_bounds_sized.rs Update existing UI tests 2023-07-28 22:23:21 +02:00
assoc_type_bounds.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds2.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds2.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds_implicit_sized.fixed Update tests 2024-02-07 10:42:01 +08:00
assoc_type_bounds_implicit_sized.rs Update tests 2024-02-07 10:42:01 +08:00
assoc_type_bounds_implicit_sized.stderr Update tests 2024-02-07 10:42:01 +08:00
assoc_type_bounds_sized.rs Add more tests 2023-07-05 07:46:05 +00:00
assoc_type_bounds_sized_others.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds_sized_others.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
assoc_type_bounds_sized_unnecessary.rs Stop using hir_ty_to_ty in rustc_privacy 2024-02-07 14:59:26 +00:00
assoc_type_bounds_sized_unnecessary.stderr Stop using hir_ty_to_ty in rustc_privacy 2024-02-07 14:59:26 +00:00
assoc_type_bounds_sized_used.rs Do not require associated types with Self: Sized to uphold bounds when confirming object candidate 2023-09-02 05:08:38 +00:00
assoc_type_bounds_sized_used.stderr Suggest relaxing implicit type Assoc: Sized; bound 2023-10-19 00:07:16 +00:00
avoid-ice-on-warning-2.new.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
avoid-ice-on-warning-2.old.stderr Auto merge of #120847 - oli-obk:track_errors9, r=compiler-errors 2024-02-14 18:32:19 +00:00
avoid-ice-on-warning-2.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
avoid-ice-on-warning-3.new.stderr Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
avoid-ice-on-warning-3.old.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
avoid-ice-on-warning-3.rs Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
avoid-ice-on-warning.new.stderr Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
avoid-ice-on-warning.old.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
avoid-ice-on-warning.rs Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
bare-trait-dont-suggest-dyn.new.fixed Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
bare-trait-dont-suggest-dyn.new.stderr Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
bare-trait-dont-suggest-dyn.old.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
bare-trait-dont-suggest-dyn.rs Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
call-when-assoc-ty-is-sized.rs update use of feature flags 2023-12-14 15:22:37 +01:00
erroneous_signature.rs Don't ICE when deducing future output if other errors already occurred 2024-01-17 16:27:57 +00:00
erroneous_signature.stderr Don't ICE when deducing future output if other errors already occurred 2024-01-17 16:27:57 +00:00
issue-19538.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-19538.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
issue-102762.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-102762.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-102933.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-106247.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-associated-consts.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-associated-consts.object_safe_for_dispatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety-associated-consts.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety-by-value-self-use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-by-value-self-use.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety-by-value-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-generics.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-generics.object_safe_for_dispatch.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-generics.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-issue-22040.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-issue-22040.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-mentions-Self.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-mentions-Self.object_safe_for_dispatch.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
object-safety-mentions-Self.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-no-static.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-no-static.object_safe_for_dispatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety-no-static.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-phantom-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-sized-2.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-sized-2.object_safe_for_dispatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety-sized-2.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-sized.curr.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-sized.object_safe_for_dispatch.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-sized.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-supertrait-mentions-GAT.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety-supertrait-mentions-GAT.stderr always show and explain sub region 2023-10-08 09:59:51 +00:00
object-safety-supertrait-mentions-Self.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
object-safety-supertrait-mentions-Self.stderr review comment: change wording 2024-02-01 03:31:03 +00:00