rust/tests/ui/traits/object
Matthias Krüger 39efaa09d6
Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqd
Rework "long type names" printing logic

Make it so more type-system types can be printed in a shortened version (like `Predicate`s).

Centralize printing the information about the "full type name path".

Make the "long type path" for the file where long types are written part of `Diag`, so that it becomes easier to keep track of it, and ensure it will always will be printed out last in the diagnostic by making its addition to the output implicit.

Tweak the shortening of types in "expected/found" labels.

Remove dead file `note.rs`.
2025-02-02 12:31:56 +01:00
..
auto-dedup-in-impl.rs
auto-dedup-in-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
auto-dedup.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-cycle-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-cycle-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-cycle-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-cycle-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
canonicalize-fresh-infer-vars-issue-103626.rs Properly report error when object type param default references self 2025-01-24 04:07:10 +00:00
canonicalize-fresh-infer-vars-issue-103626.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
elaborated-predicates-unconstrained-late-bound.rs Check elaborated projections from dyn don't mention unconstrained late bound lifetimes 2024-10-04 17:15:28 -04:00
elaborated-predicates-unconstrained-late-bound.stderr Elaborate supertrait span correctly to label the error better 2024-10-04 17:15:28 -04:00
enforce-supertrait-projection.rs Ensure that dyn trait bounds stay sorted 2023-09-07 06:57:08 +00:00
enforce-supertrait-projection.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
exclusion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generics.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
issue-33140-traitobject-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-33140-traitobject-crate.stderr
issue-44454-1.rs
issue-44454-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-44454-2.rs
issue-44454-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-44454-3.rs
issue-44454-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lifetime-first.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-matcher.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
macro-matcher.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
pretty.rs Check elaborated projections from dyn don't mention unconstrained late bound lifetimes 2024-10-04 17:15:28 -04:00
pretty.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
safety.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
safety.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
supertrait-lifetime-bound.rs
supertrait-lifetime-bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
vs-lifetime-2.rs
vs-lifetime-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
vs-lifetime.rs
vs-lifetime.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
with-lifetime-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
with-self-in-projection-output-bad.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
with-self-in-projection-output-bad.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
with-self-in-projection-output-good.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
with-self-in-projection-output-repeated-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00