]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/match-arrows-block-then-binop.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / match-arrows-block-then-binop.rs
index 1a40d674929903b7dfd0e7b1eb0791ecf9bde199..56c917c7462f2e2d838edd6c73639bdf893a9fad 100644 (file)
@@ -1,7 +1,7 @@
 fn main() {
-
-    match 0 {
+    let _ = match 0 {
       0 => {
+        0
       } + 5 //~ ERROR expected pattern, found `+`
-    }
+    };
 }