fork/rust

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

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

master
391 B17 linesraw
1error: conditional `else if` is not supported for `let...else`
2  --> $DIR/let-else-if.rs:2:33
3   |
4LL |     let Some(_) = Some(()) else if true {
5   |                                 ^^ expected `{`
6   |
7help: try placing this code inside a block
8   |
9LL ~     let Some(_) = Some(()) else { if true {
10LL |
11 ...
12LL |         return;
13LL ~     } };
14   |
15
16error: aborting due to previous error
17