blob: 847936cc95402a75c85012583e249858876c7a87 [file] [log] [blame]
fn main() {
let z = match 3 {
x(1) => x(1) //~ ERROR cannot find tuple struct/variant `x` in this scope
//~^ ERROR cannot find function `x` in this scope
};
assert!(z == 3);
}