fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0594]: cannot assign to `z.0.0.0`, as it is not declared as mutable 2 --> $DIR/cant-mutate-imm.rs:12:9 3 | 4LL | let z = (y, 10); 5 | - help: consider changing this to be mutable: `mut z` 6... 7LL | z.0.0.0 = 20; 8 | ^^^^^^^^^^^^ cannot assign 9 10error[E0594]: cannot assign to `*bx.0`, as it is not declared as mutable 11 --> $DIR/cant-mutate-imm.rs:24:9 12 | 13LL | let bx = Box::new(x); 14 | -- help: consider changing this to be mutable: `mut bx` 15... 16LL | bx.0 = 20; 17 | ^^^^^^^^^ cannot assign 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0594`.