fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
467 B19 linesraw
1error: this `if` expression is missing a block after the condition
2  --> $DIR/accidental-if.rs:3:5
3   |
4LL |     if let Some(y) = x else {
5   |     ^^
6   |
7help: add a block here
8  --> $DIR/accidental-if.rs:3:23
9   |
10LL |     if let Some(y) = x else {
11   |                       ^
12help: remove the `if` if you meant to write a `let...else` statement
13   |
14LL -     if let Some(y) = x else {
15LL +     let Some(y) = x else {
16   |
17
18error: aborting due to previous error
19