summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-24780.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-24780.stderr')
-rw-r--r--tests/ui/parser/issues/issue-24780.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-24780.stderr b/tests/ui/parser/issues/issue-24780.stderr
new file mode 100644
index 000000000..d9470191b
--- /dev/null
+++ b/tests/ui/parser/issues/issue-24780.stderr
@@ -0,0 +1,8 @@
+error: expected one of `!`, `+`, `::`, `where`, or `{`, found `>`
+ --> $DIR/issue-24780.rs:5:23
+ |
+LL | fn foo() -> Vec<usize>> {
+ | ^ expected one of `!`, `+`, `::`, `where`, or `{`
+
+error: aborting due to previous error
+