]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-item/ambiguous-associated-type-with-generics.stderr
Add more test cases to tests/ui/issues/issue-92741.rs
[rust.git] / tests / ui / associated-item / ambiguous-associated-type-with-generics.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/ambiguous-associated-type-with-generics.rs:13:13
3    |
4 LL |     let _x: <dyn Trait<i32>>::Ty;
5    |             ^^^^^^^^^^^^^^^^^^^^ help: use the fully-qualified path: `<dyn Trait<i32> as Assoc>::Ty`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0223`.