blob: a58d24ce20a88f53fe4008b1e625f204718305af (
plain)
1
2
3
4
5
6
7
8
|
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() {}
|