about summary refs log tree commit diff
path: root/src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-03-07 21:17:31 -0500
committerJorge Aparicio <japaricious@gmail.com>2016-03-07 21:17:31 -0500
commit2de4932453a99a19e9033edb47db7a66a612188c (patch)
tree40a2d311c084984adf4cfb5077d5b6579a9d8998 /src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
parent210dd611aa1bd80ed2f4e663b3c4b87b3cea069a (diff)
downloadrust-2de4932453a99a19e9033edb47db7a66a612188c.tar.gz
rust-2de4932453a99a19e9033edb47db7a66a612188c.zip
update error messages in parse-fail tests
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`
 }