about summary refs log tree commit diff
path: root/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/removed-syntax-uniq-mut-expr.rs')
-rw-r--r--src/test/parse-fail/removed-syntax-uniq-mut-expr.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs b/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
index 2f637cf0b4e..b16c77ab6b5 100644
--- a/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
+++ b/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
@@ -11,7 +11,5 @@
 // compile-flags: -Z parse-only
 
 fn f() {
-    let a_box = box mut 42;
-    //~^  ERROR expected identifier, found keyword `mut`
-    //~^^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `42`
+    let a_box = box mut 42; //~ ERROR expected expression, found keyword `mut`
 }