]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-30240.rs
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-30240.rs
1 fn main() {
2 match "world" { //~ ERROR non-exhaustive patterns: `&_`
3 "hello" => {}
4 }
5
6 match "world" { //~ ERROR non-exhaustive patterns: `&_`
7 ref _x if false => {}
8 "hello" => {}
9 }
10 }