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