Skip to content

Commit

Permalink
fixed pattern, moved test to compile-fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jbclements committed Apr 30, 2013
1 parent fc66107 commit ab1d8ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@



// error-pattern:cant-use-x-as-pattern-mumble
// error-pattern:unresolved enum variant

fn main() {
let z = match 3 {
Expand Down

0 comments on commit ab1d8ea

Please sign in to comment.