diff options
Diffstat (limited to 'tests/ui/parser/issues/issue-24375.stderr')
-rw-r--r-- | tests/ui/parser/issues/issue-24375.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-24375.stderr b/tests/ui/parser/issues/issue-24375.stderr new file mode 100644 index 000000000..7aed88768 --- /dev/null +++ b/tests/ui/parser/issues/issue-24375.stderr @@ -0,0 +1,8 @@ +error: expected one of `=>`, `@`, `if`, or `|`, found `[` + --> $DIR/issue-24375.rs:6:12 + | +LL | tmp[0] => {} + | ^ expected one of `=>`, `@`, `if`, or `|` + +error: aborting due to previous error + |