fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0070]: invalid left-hand side of assignment 2 --> $DIR/issue-26093.rs:3:16 3 | 4LL | $thing = 42; 5 | ^ 6... 7LL | not_a_place!(99); 8 | ----------------- 9 | | | 10 | | cannot assign to this expression 11 | in this macro invocation 12 | 13 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 14 15error[E0067]: invalid left-hand side of assignment 16 --> $DIR/issue-26093.rs:5:16 17 | 18LL | $thing += 42; 19 | ^^ 20... 21LL | not_a_place!(99); 22 | ----------------- 23 | | | 24 | | cannot assign to this expression 25 | in this macro invocation 26 | 27 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 28 29error: aborting due to 2 previous errors 30 31Some errors have detailed explanations: E0067, E0070. 32For more information about an error, try `rustc --explain E0067`.