summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr')
-rw-r--r--tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr b/tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr
new file mode 100644
index 000000000..5d37b2164
--- /dev/null
+++ b/tests/ui/parser/issues/issue-70583-block-is-empty-2.stderr
@@ -0,0 +1,11 @@
+error: unexpected closing delimiter: `}`
+ --> $DIR/issue-70583-block-is-empty-2.rs:14:1
+ |
+LL | ErrorHandled::Reported => {}}
+ | -- block is empty, you might have not meant to close it
+...
+LL | }
+ | ^ unexpected closing delimiter
+
+error: aborting due to previous error
+