summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/removed-syntax-mut-vec-ty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/removed-syntax-mut-vec-ty.rs')
-rw-r--r--tests/ui/parser/removed-syntax-mut-vec-ty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax-mut-vec-ty.rs b/tests/ui/parser/removed-syntax-mut-vec-ty.rs
new file mode 100644
index 000000000..923a7ea37
--- /dev/null
+++ b/tests/ui/parser/removed-syntax-mut-vec-ty.rs
@@ -0,0 +1 @@
+type v = [mut isize]; //~ ERROR expected type, found keyword `mut`