summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-20616-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-20616-3.stderr')
-rw-r--r--tests/ui/parser/issues/issue-20616-3.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-20616-3.stderr b/tests/ui/parser/issues/issue-20616-3.stderr
new file mode 100644
index 000000000..dbff116e5
--- /dev/null
+++ b/tests/ui/parser/issues/issue-20616-3.stderr
@@ -0,0 +1,13 @@
+error: expected one of `>`, a const expression, lifetime, or type, found `,`
+ --> $DIR/issue-20616-3.rs:13:24
+ |
+LL | type Type_3<T> = Box<T,,>;
+ | ^ expected one of `>`, a const expression, lifetime, or type
+ |
+help: you might have meant to end the type parameters here
+ |
+LL | type Type_3<T> = Box<T>,,>;
+ | +
+
+error: aborting due to previous error
+