We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc481a4 commit 8c5f690Copy full SHA for 8c5f690
src/test/ui/issues/issue-61858.rs
@@ -0,0 +1,3 @@
1
+fn main() {
2
+ (if foobar) //~ ERROR expected `{`, found `)`
3
+}
src/test/ui/issues/issue-61858.stderr
@@ -0,0 +1,10 @@
+error: expected `{`, found `)`
+ --> $DIR/issue-61858.rs:2:15
+ |
4
+LL | (if foobar)
5
+ | -- ^ expected `{`
6
+ | |
7
+ | this `if` statement has a condition, but no block
8
+
9
+error: aborting due to previous error
10
0 commit comments