1 error: ambiguous associated item
2 --> $DIR/type-alias-enum-variants-priority.rs:15:15
4 LL | fn f() -> Self::V { 0 }
5 | ^^^^^^^ help: use fully-qualified syntax: `<E as Trait>::V`
7 note: lint level defined here
8 --> $DIR/type-alias-enum-variants-priority.rs:2:9
10 LL | #![deny(ambiguous_associated_items)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
13 = note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
14 note: `V` could refer to variant defined here
15 --> $DIR/type-alias-enum-variants-priority.rs:5:5
19 note: `V` could also refer to associated type defined here
20 --> $DIR/type-alias-enum-variants-priority.rs:9:5
25 error: aborting due to previous error