summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/removed-syntax-uniq-mut-ty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/removed-syntax-uniq-mut-ty.rs')
-rw-r--r--tests/ui/parser/removed-syntax-uniq-mut-ty.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax-uniq-mut-ty.rs b/tests/ui/parser/removed-syntax-uniq-mut-ty.rs
new file mode 100644
index 000000000..a8dee5bbd
--- /dev/null
+++ b/tests/ui/parser/removed-syntax-uniq-mut-ty.rs
@@ -0,0 +1,2 @@
+type mut_box = Box<mut isize>;
+//~^ ERROR expected one of `>`, a const expression, lifetime, or type, found keyword `mut`