Skip to content

Commit

Permalink
parse fail test fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Feb 2, 2017
1 parent 7e5bca7 commit 89fb0e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/parse-fail/match-refactor-to-expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@

fn main() {
let foo =
match //~ NOTE did you mean to remove this `match` keyword?
match //~ GUESS
Some(4).unwrap_or_else(5)
; //~ ERROR expected one of `.`, `?`, `{`, or an operator, found `;`
//~^ HELP did you mean to remove this `match` keyword?

println!("{}", foo)
}

0 comments on commit 89fb0e0

Please sign in to comment.