blob: 65977e1110c5cc94e47bf17039cb4ae6b5c8f5ad [file] [log] [blame]
struct S(u8, u16);
type A = S;
fn main() {
let s = A(0, 1); //~ ERROR expected function
match s {
A(..) => {} //~ ERROR expected tuple struct/variant
}
}