type-alias-enum-variants-priority-2: rename to something descriptive.

This commit is contained in:
Mazdak Farrokhzad 2019-06-09 03:52:45 +02:00
parent 6d1ecb3c95
commit fd44b7655b
2 changed files with 2 additions and 2 deletions

View File

@ -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`