]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-enum-variants/enum-variant-priority-higher-than-other-inherent.rs
1 // Check that an `enum` variant is resolved, in the value namespace,
2 // with higher priority than other inherent items when there is a conflict.
21 <E
>::V(); //~ ERROR this enum variant takes 1 argument but 0 arguments were supplied
22 let _
: u8 = <E2
>::V
; //~ ERROR mismatched types