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.rs2
1 files changed, 1 insertions, 1 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 ea686aeb6e0..2f637cf0b4e 100644
--- a/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
+++ b/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
@@ -13,5 +13,5 @@
 fn f() {
     let a_box = box mut 42;
     //~^  ERROR expected identifier, found keyword `mut`
-    //~^^ ERROR expected one of `!`, `.`, `::`, `;`, `{`, or an operator, found `42`
+    //~^^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `42`
 }