about summary refs log tree commit diff
path: root/src/test/compile-fail/removed-syntax-mut-vec-ty.rs
diff options
context:
space:
mode:
authorJonas Hietala <tradet.h@gmail.com>2014-08-29 09:18:05 +0200
committerJonas Hietala <tradet.h@gmail.com>2014-08-29 10:36:43 +0200
commit5bf1b03e5c8753680c231ebcb7735a9855de31a3 (patch)
tree423f3c02b52696e22775ffa9e753ec1032619cb6 /src/test/compile-fail/removed-syntax-mut-vec-ty.rs
parentdee8423531bf88752e14ebfbdc2c1d1ade8a8fa7 (diff)
downloadrust-5bf1b03e5c8753680c231ebcb7735a9855de31a3.tar.gz
rust-5bf1b03e5c8753680c231ebcb7735a9855de31a3.zip
Tweak error message for use of a keyword in ident position.
Closes #15358
Diffstat (limited to 'src/test/compile-fail/removed-syntax-mut-vec-ty.rs')
-rw-r--r--src/test/compile-fail/removed-syntax-mut-vec-ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs
index 912952892e4..c5eec2ef6e1 100644
--- a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs
+++ b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 type v = [mut int];
-    //~^  ERROR found `mut` in ident position
+    //~^  ERROR expected identifier, found keyword `mut`
     //~^^ ERROR expected `]`, found `int`