1 error[E0061]: this function takes 1 parameter but 0 parameters were supplied
2 --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:21:5
8 | ^^^^^^^^ expected 1 parameter
10 error[E0308]: mismatched types
11 --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:22:17
13 LL | let _: u8 = <E2>::V;
14 | ^^^^^^^ expected u8, found enum `E2`
16 = note: expected type `u8`
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0061, E0308.
22 For more information about an error, try `rustc --explain E0061`.