]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-30240.rs
Add test for eval order for a+=b
[rust.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 }