about summary refs log tree commit diff
path: root/src/test/parse-fail/match-refactor-to-expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/match-refactor-to-expr.rs')
-rw-r--r--src/test/parse-fail/match-refactor-to-expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/match-refactor-to-expr.rs b/src/test/parse-fail/match-refactor-to-expr.rs
index b99d0493ff7..37b66601e70 100644
--- a/src/test/parse-fail/match-refactor-to-expr.rs
+++ b/src/test/parse-fail/match-refactor-to-expr.rs
@@ -14,7 +14,7 @@ fn main() {
     let foo =
         match //~ NOTE did you mean to remove this `match` keyword?
         Some(4).unwrap_or_else(5)
-        ; //~ ERROR expected one of `.`, `{`, or an operator, found `;`
+        ; //~ ERROR expected one of `.`, `?`, `{`, or an operator, found `;`
 
     println!("{}", foo)
 }