summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-61858.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issue-61858.stderr')
-rw-r--r--tests/ui/parser/issue-61858.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-61858.stderr b/tests/ui/parser/issue-61858.stderr
new file mode 100644
index 000000000..03f51c6e3
--- /dev/null
+++ b/tests/ui/parser/issue-61858.stderr
@@ -0,0 +1,14 @@
+error: expected `{`, found `)`
+ --> $DIR/issue-61858.rs:2:15
+ |
+LL | (if foobar)
+ | ^ expected `{`
+ |
+note: the `if` expression is missing a block after this condition
+ --> $DIR/issue-61858.rs:2:9
+ |
+LL | (if foobar)
+ | ^^^^^^
+
+error: aborting due to previous error
+