]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/struct-literal-in-match-discriminant.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / parse-fail / struct-literal-in-match-discriminant.rs
index 679f4542824fbd0ff4155e7429add1bd28daac80..7038cc798c41542580e4599dc03246ce521e8f6e 100644 (file)
@@ -20,6 +20,6 @@ fn main() {
     } {
         Foo {
             x: x
-        } => {} //~ ERROR expected one of `.`, `;`, `}`, or an operator, found `=>`
+        } => {} //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
     }
 }