]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-5927.rs
Rollup merge of #106779 - RReverser:patch-2, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-5927.rs
1 fn main() {
2     let z = match 3 {
3         x(1) => x(1) //~ ERROR cannot find tuple struct or tuple variant `x` in this scope
4         //~^ ERROR cannot find function `x` in this scope
5     };
6     assert!(z == 3);
7 }