1
Fork 0
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
auto-dedup.rs
bounds-cycle-1.rs
bounds-cycle-2.rs
bounds-cycle-3.rs
bounds-cycle-4.rs
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
elaborated-predicates-unconstrained-late-bound.stderr
enforce-supertrait-projection.rs
enforce-supertrait-projection.stderr
exclusion.rs
generics.rs
issue-33140-traitobject-crate.rs
issue-33140-traitobject-crate.stderr
issue-44454-1.rs
issue-44454-1.stderr
issue-44454-2.rs
issue-44454-2.stderr
issue-44454-3.rs
issue-44454-3.stderr
lifetime-first.rs
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
pretty.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
safety.rs
safety.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
supertrait-lifetime-bound.rs
supertrait-lifetime-bound.stderr
vs-lifetime-2.rs
vs-lifetime-2.stderr
vs-lifetime.rs
vs-lifetime.stderr
with-lifetime-bound.rs
with-self-in-projection-output-bad.rs
with-self-in-projection-output-bad.stderr
with-self-in-projection-output-good.rs
with-self-in-projection-output-repeated-supertrait.rs