1 error[E0594]: cannot assign to immutable `Box` content `*y`
2 --> $DIR/immut-function-arguments.rs:5:5
4 LL | fn f(y: Box<isize>) {
5 | - help: make this binding mutable: `mut y`
7 | ^^^^^^ cannot borrow as mutable
9 error[E0594]: cannot assign to immutable `Box` content `*q`
10 --> $DIR/immut-function-arguments.rs:10:35
12 LL | let _frob = |q: Box<isize>| { *q = 2; };
13 | - ^^^^^^ cannot borrow as mutable
15 | help: make this binding mutable: `mut q`
17 error: aborting due to 2 previous errors