summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issue-91421.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/issue-91421.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/parser/issue-91421.stderr b/src/test/ui/parser/issue-91421.stderr
new file mode 100644
index 000000000..2d9652051
--- /dev/null
+++ b/src/test/ui/parser/issue-91421.stderr
@@ -0,0 +1,14 @@
+error: this `if` expression is missing a block after the condition
+ --> $DIR/issue-91421.rs:4:17
+ |
+LL | let value = if true && {
+ | ^^
+ |
+help: this binary operation is possibly unfinished
+ --> $DIR/issue-91421.rs:4:20
+ |
+LL | let value = if true && {
+ | ^^^^^^^
+
+error: aborting due to previous error
+