1 error: ambiguous associated item
2 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:32:15
4 LL | fn f() -> Self::V { 0 }
5 | ^^^^^^^ help: use fully-qualified syntax: `<E as Tr>::V`
7 = note: `#[deny(ambiguous_associated_items)]` on by default
8 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9 = note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
10 note: `V` could refer to the variant defined here
11 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:22:5
15 note: `V` could also refer to the associated type defined here
16 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:26:5
21 error: ambiguous associated item
22 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:32:15
24 LL | fn f() -> Self::V { 0 }
25 | ^^^^^^^ help: use fully-qualified syntax: `<E as Tr>::V`
27 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
28 = note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
29 note: `V` could refer to the variant defined here
30 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:22:5
34 note: `V` could also refer to the associated type defined here
35 --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:26:5
40 error: aborting due to 2 previous errors