type-alias-enum-variants-priority: rename to something more descriptive.
This commit is contained in:
parent
f5f1144a02
commit
ff7d6a18ad
@ -1,5 +1,5 @@
|
||||
error: ambiguous associated item
|
||||
--> $DIR/type-alias-enum-variants-priority.rs:32:15
|
||||
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:32:15
|
||||
|
|
||||
LL | fn f() -> Self::V { 0 }
|
||||
| ^^^^^^^ help: use fully-qualified syntax: `<E as Trait>::V`
|
||||
@ -8,12 +8,12 @@ LL | fn f() -> Self::V { 0 }
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
|
||||
note: `V` could refer to variant defined here
|
||||
--> $DIR/type-alias-enum-variants-priority.rs:22:5
|
||||
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:22:5
|
||||
|
|
||||
LL | V
|
||||
| ^
|
||||
note: `V` could also refer to associated type defined here
|
||||
--> $DIR/type-alias-enum-variants-priority.rs:26:5
|
||||
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:26:5
|
||||
|
|
||||
LL | type V;
|
||||
| ^^^^^^^
|
Loading…
x
Reference in New Issue
Block a user