fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0070]: invalid left-hand side of assignment 2 --> $DIR/bad-expr-lhs.rs:2:7 3 | 4LL | 1 = 2; 5 | - ^ 6 | | 7 | cannot assign to this expression 8 9error[E0067]: invalid left-hand side of assignment 10 --> $DIR/bad-expr-lhs.rs:3:7 11 | 12LL | 1 += 2; 13 | - ^^ 14 | | 15 | cannot assign to this expression 16 17error[E0070]: invalid left-hand side of assignment 18 --> $DIR/bad-expr-lhs.rs:4:12 19 | 20LL | (1, 2) = (3, 4); 21 | - ^ 22 | | 23 | cannot assign to this expression 24 25error[E0070]: invalid left-hand side of assignment 26 --> $DIR/bad-expr-lhs.rs:4:12 27 | 28LL | (1, 2) = (3, 4); 29 | - ^ 30 | | 31 | cannot assign to this expression 32 33error[E0070]: invalid left-hand side of assignment 34 --> $DIR/bad-expr-lhs.rs:8:10 35 | 36LL | None = Some(3); 37 | ---- ^ 38 | | 39 | cannot assign to this expression 40 41error: aborting due to 5 previous errors 42 43Some errors have detailed explanations: E0067, E0070. 44For more information about an error, try `rustc --explain E0067`.