1 error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
2 --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:21:5
5 | ^^^^^^-- an argument of type `u8` is missing
7 note: tuple variant defined here
8 --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:5:5
12 help: provide the argument
14 LL | <E>::V(/* u8 */);
17 error[E0308]: mismatched types
18 --> $DIR/enum-variant-priority-higher-than-other-inherent.rs:22:17
20 LL | let _: u8 = <E2>::V;
21 | -- ^^^^^^^ expected `u8`, found enum `E2`
23 | expected due to this
25 error: aborting due to 2 previous errors
27 Some errors have detailed explanations: E0061, E0308.
28 For more information about an error, try `rustc --explain E0061`.