rust/tests/ui/traits/alias
Esteban Küber 17a6ae2df3 Detect object safety errors when assoc type is missing
When an associated type with GATs isn't specified in a `dyn Trait`, emit
an object safety error instead of only complaining about the missing
associated type, as it will lead the user down a path of three different
errors before letting them know that what they were trying to do is
impossible to begin with.

Fix #103155.
2023-10-30 22:12:07 +00:00
..
auxiliary
ambiguous.rs
ambiguous.stderr
basic.rs
bounds.rs
cross-crate.rs
cross-crate.stderr
dont-elaborate-non-self.rs
dont-elaborate-non-self.stderr
generic-default-in-dyn.rs
generic-default-in-dyn.stderr
impl.rs
impl.stderr
import-cross-crate.rs
import.rs
issue-60021-assoc-method-resolve.rs
issue-60755.rs
issue-72415-assoc-const-resolve.rs
issue-75983.rs
issue-83613.rs
issue-83613.stderr
issue-107747-do-not-assemble-supertraits.rs
issue-108072-unmet-trait-alias-bound.rs
issue-108072-unmet-trait-alias-bound.stderr
issue-108132-unmet-trait-alias-bound-on-generic-impl.rs
issue-108132-unmet-trait-alias-bound-on-generic-impl.stderr
maybe-bound.rs
no-duplicates.rs
no-duplicates.stderr
no-extra-traits.rs
no-extra-traits.stderr
object-fail.rs
object-fail.stderr
object-wf.rs
object.rs
only-maybe-bound.rs
only-maybe-bound.stderr
self-in-const-generics.rs
self-in-const-generics.stderr
self-in-generics.rs
self-in-generics.stderr
style_lint.rs
style_lint.stderr
suggest-trait-alias-instead-of-type.fixed
suggest-trait-alias-instead-of-type.rs
suggest-trait-alias-instead-of-type.stderr
syntax-fail.rs
syntax-fail.stderr
syntax.rs
wf.rs
wf.stderr