summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-39616.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issue-39616.stderr')
-rw-r--r--tests/ui/parser/issue-39616.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-39616.stderr b/tests/ui/parser/issue-39616.stderr
new file mode 100644
index 000000000..393d1f2e2
--- /dev/null
+++ b/tests/ui/parser/issue-39616.stderr
@@ -0,0 +1,8 @@
+error: expected type, found `0`
+ --> $DIR/issue-39616.rs:1:12
+ |
+LL | fn foo(a: [0; 1]) {}
+ | ^ expected type
+
+error: aborting due to previous error
+