fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected expression, found `let` statement 2 --> $DIR/parens.rs:10:16 3 | 4LL | () if (let 0 = 1) => {} 5 | ^^^^^^^^^ 6 | 7 = note: only supported directly in conditions of `if` and `while` expressions 8note: `let`s wrapped in parentheses are not supported in a context with let chains 9 --> $DIR/parens.rs:10:16 10 | 11LL | () if (let 0 = 1) => {} 12 | ^^^^^^^^^ 13 14error: expected expression, found `let` statement 15 --> $DIR/parens.rs:12:18 16 | 17LL | () if (((let 0 = 1))) => {} 18 | ^^^^^^^^^ 19 | 20 = note: only supported directly in conditions of `if` and `while` expressions 21note: `let`s wrapped in parentheses are not supported in a context with let chains 22 --> $DIR/parens.rs:12:18 23 | 24LL | () if (((let 0 = 1))) => {} 25 | ^^^^^^^^^ 26 27error: expected expression, found `let` statement 28 --> $DIR/parens.rs:20:16 29 | 30LL | () if (let 0 = 1) => {} 31 | ^^^^^^^^^ 32 | 33 = note: only supported directly in conditions of `if` and `while` expressions 34note: `let`s wrapped in parentheses are not supported in a context with let chains 35 --> $DIR/parens.rs:20:16 36 | 37LL | () if (let 0 = 1) => {} 38 | ^^^^^^^^^ 39 40error: expected expression, found `let` statement 41 --> $DIR/parens.rs:22:18 42 | 43LL | () if (((let 0 = 1))) => {} 44 | ^^^^^^^^^ 45 | 46 = note: only supported directly in conditions of `if` and `while` expressions 47note: `let`s wrapped in parentheses are not supported in a context with let chains 48 --> $DIR/parens.rs:22:18 49 | 50LL | () if (((let 0 = 1))) => {} 51 | ^^^^^^^^^ 52 53error: aborting due to 4 previous errors 54