blob: 3188377584dc09e265bf00362c64c098d3832546 [file] [log] [blame]
struct S(u8);
const C: S = S(10);
fn main() {
let C(a) = S(11); //~ ERROR expected tuple struct/variant, found constant `C`
let C(..) = S(11); //~ ERROR expected tuple struct/variant, found constant `C`
}