1 error[E0594]: cannot assign to immutable borrowed content `*n`
2 --> $DIR/explicit-mut.rs:7:13
4 LL | *n += 1; //~ ERROR cannot assign to immutable
5 | ^^^^^^^ cannot borrow as mutable
7 error[E0594]: cannot assign to immutable borrowed content `*n`
8 --> $DIR/explicit-mut.rs:15:13
10 LL | *n += 1; //~ ERROR cannot assign to immutable
11 | ^^^^^^^ cannot borrow as mutable
13 error[E0594]: cannot assign to immutable borrowed content `*n`
14 --> $DIR/explicit-mut.rs:23:13
16 LL | *n += 1; //~ ERROR cannot assign to immutable
17 | ^^^^^^^ cannot borrow as mutable
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0594`.