1 error[E0594]: cannot assign to data in a `&` reference
2 --> $DIR/explicit-mut.rs:17:13
5 | - help: consider changing this to be a mutable reference: `&mut`
6 LL | *n += 1; //~ ERROR cannot assign to immutable
9 error[E0594]: cannot assign to data in a `&` reference
10 --> $DIR/explicit-mut.rs:25:13
13 | - help: consider changing this to be a mutable reference: `&mut`
14 LL | *n += 1; //~ ERROR cannot assign to immutable
17 error[E0594]: cannot assign to data in a `&` reference
18 --> $DIR/explicit-mut.rs:33:13
21 | - help: consider changing this to be a mutable reference: `&mut`
22 LL | *n += 1; //~ ERROR cannot assign to immutable
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0594`.