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