1 error[E0658]: destructuring assignments are unstable
2 --> $DIR/bad-expr-lhs.rs:4:12
7 | cannot assign to this expression
9 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
10 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
12 error[E0658]: destructuring assignments are unstable
13 --> $DIR/bad-expr-lhs.rs:9:12
18 | cannot assign to this expression
20 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
21 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
23 error[E0070]: invalid left-hand side of assignment
24 --> $DIR/bad-expr-lhs.rs:2:7
29 | cannot assign to this expression
31 error[E0067]: invalid left-hand side of assignment
32 --> $DIR/bad-expr-lhs.rs:3:7
37 | cannot assign to this expression
39 error[E0070]: invalid left-hand side of assignment
40 --> $DIR/bad-expr-lhs.rs:4:12
45 | cannot assign to this expression
47 error[E0070]: invalid left-hand side of assignment
48 --> $DIR/bad-expr-lhs.rs:4:12
53 | cannot assign to this expression
55 error[E0070]: invalid left-hand side of assignment
56 --> $DIR/bad-expr-lhs.rs:11:10
61 | cannot assign to this expression
63 error: aborting due to 7 previous errors
65 Some errors have detailed explanations: E0067, E0070, E0658.
66 For more information about an error, try `rustc --explain E0067`.