fixed pattern, moved test to compile-fail
This commit is contained in:
parent
fc661079a4
commit
ab1d8ead91
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
|
||||
|
||||
// error-pattern:cant-use-x-as-pattern-mumble
|
||||
// error-pattern:unresolved enum variant
|
||||
|
||||
fn main() {
|
||||
let z = match 3 {
|
Loading…
Add table
Add a link
Reference in a new issue