Skip to content

Commit ff7d6a1

Browse files
committed
type-alias-enum-variants-priority: rename to something more descriptive.
1 parent f5f1144 commit ff7d6a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/ui/type-alias-enum-variants/type-alias-enum-variants-priority.stderr renamed to src/test/ui/type-alias-enum-variants/enum-variant-priority-lint-ambiguous_associated_items.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: ambiguous associated item
2-
--> $DIR/type-alias-enum-variants-priority.rs:32:15
2+
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:32:15
33
|
44
LL | fn f() -> Self::V { 0 }
55
| ^^^^^^^ help: use fully-qualified syntax: `<E as Trait>::V`
@@ -8,12 +8,12 @@ LL | fn f() -> Self::V { 0 }
88
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
99
= note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
1010
note: `V` could refer to variant defined here
11-
--> $DIR/type-alias-enum-variants-priority.rs:22:5
11+
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:22:5
1212
|
1313
LL | V
1414
| ^
1515
note: `V` could also refer to associated type defined here
16-
--> $DIR/type-alias-enum-variants-priority.rs:26:5
16+
--> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:26:5
1717
|
1818
LL | type V;
1919
| ^^^^^^^

0 commit comments

Comments
 (0)