diff --git a/src/test/parse-fail/match-refactor-to-expr.rs b/src/test/parse-fail/match-refactor-to-expr.rs index 37b66601e7092..c50137f93cd34 100644 --- a/src/test/parse-fail/match-refactor-to-expr.rs +++ b/src/test/parse-fail/match-refactor-to-expr.rs @@ -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) }