]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-5927.rs
Rollup merge of #66134 - estebank:unknown-formatting-trait, r=nikomatsakis
[rust.git] / src / test / ui / issues / 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 }