4 match SomeStruct(value) {
5 StructConst1(_) => { },
6 //~^ ERROR expected tuple struct or tuple variant, found constant `StructConst1`
10 struct SomeStruct(u8);
12 const StructConst1 : SomeStruct = SomeStruct(1);
13 const StructConst2 : SomeStruct = SomeStruct(2);