blob: a58d24ce20a88f53fe4008b1e625f204718305af [file] [log] [blame] [edit]
enum Struct<const N: usize> { Variant { x: [(); N] } }
fn test() {
let x = Struct::<0>::Variant;
//~^ ERROR expected value, found struct variant `Struct<0>::Variant`
}
fn main() {}