type-alias-enum-variants-priority-2: rename to something descriptive.
This commit is contained in:
parent
6d1ecb3c95
commit
fd44b7655b
@ -1,5 +1,5 @@
|
||||
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
|
||||
--> $DIR/type-alias-enum-variants-priority-2.rs:21:5
|
||||
--> $DIR/enum-variant-priority-higher-than-other-inherent.rs:21:5
|
||||
|
|
||||
LL | V(u8)
|
||||
| ----- defined here
|
||||
@ -8,7 +8,7 @@ LL | <E>::V();
|
||||
| ^^^^^^^^ expected 1 parameter
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/type-alias-enum-variants-priority-2.rs:22:17
|
||||
--> $DIR/enum-variant-priority-higher-than-other-inherent.rs:22:17
|
||||
|
|
||||
LL | let _: u8 = <E2>::V;
|
||||
| ^^^^^^^ expected u8, found enum `E2`
|
Loading…
x
Reference in New Issue
Block a user