]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/match-refactor-to-expr.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / parse-fail / match-refactor-to-expr.rs
index b99d0493ff7333b2f402829193a766a3ecc1f382..37b66601e7092d2f5519c59cad4c4247e720ac7c 100644 (file)
@@ -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)
 }