summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/removed-syntax-uniq-mut-ty.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/removed-syntax-uniq-mut-ty.stderr')
-rw-r--r--tests/ui/parser/removed-syntax-uniq-mut-ty.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax-uniq-mut-ty.stderr b/tests/ui/parser/removed-syntax-uniq-mut-ty.stderr
new file mode 100644
index 000000000..39db0be9f
--- /dev/null
+++ b/tests/ui/parser/removed-syntax-uniq-mut-ty.stderr
@@ -0,0 +1,8 @@
+error: expected one of `>`, a const expression, lifetime, or type, found keyword `mut`
+ --> $DIR/removed-syntax-uniq-mut-ty.rs:1:20
+ |
+LL | type mut_box = Box<mut isize>;
+ | ^^^ expected one of `>`, a const expression, lifetime, or type
+
+error: aborting due to previous error
+