granite-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
basic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
dont-elaborate-non-self.rs Broken tests 2023-04-11 17:45:42 +00:00
dont-elaborate-non-self.stderr Allow the elaborator to only filter to real supertraits 2023-04-11 17:45:42 +00:00
generic-default-in-dyn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-default-in-dyn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-cross-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60021-assoc-method-resolve.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60755.rs Add regression test for #60755 2023-01-27 19:46:56 +09:00
issue-72415-assoc-const-resolve.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75983.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83613.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83613.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-107747-do-not-assemble-supertraits.rs Do not assemble supertraits for trait aliases 2023-02-08 19:55:50 +00:00
issue-108072-unmet-trait-alias-bound.rs Do not ICE on unmet trait alias bounds 2023-02-16 11:18:08 +00:00
issue-108072-unmet-trait-alias-bound.stderr Do not ICE on unmet trait alias bounds 2023-02-16 11:18:08 +00:00
issue-108132-unmet-trait-alias-bound-on-generic-impl.rs Do not ICE on unmet trait alias impl bounds 2023-02-16 22:10:29 +00:00
issue-108132-unmet-trait-alias-bound-on-generic-impl.stderr Do not ICE on unmet trait alias impl bounds 2023-02-16 22:10:29 +00:00
maybe-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-duplicates.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-duplicates.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-extra-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-extra-traits.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-fail.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
object-wf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
only-maybe-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
only-maybe-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-const-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-const-generics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-generics.rs Remove save-analysis. 2023-02-16 15:14:45 +11:00
self-in-generics.stderr Remove save-analysis. 2023-02-16 15:14:45 +11:00
style_lint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
style_lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-trait-alias-instead-of-type.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-trait-alias-instead-of-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-trait-alias-instead-of-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wf.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00