2016-06-05 23:56:11 +03:00
|
|
|
fn main() {
|
2020-11-01 01:58:48 +00:00
|
|
|
match "world" { //~ ERROR non-exhaustive patterns: `&_`
|
2016-06-05 23:56:11 +03:00
|
|
|
"hello" => {}
|
|
|
|
}
|
|
|
|
|
2020-11-01 01:58:48 +00:00
|
|
|
match "world" { //~ ERROR non-exhaustive patterns: `&_`
|
2016-06-05 23:56:11 +03:00
|
|
|
ref _x if false => {}
|
|
|
|
"hello" => {}
|
|
|
|
}
|
|
|
|
}
|