1 error[E0596]: cannot borrow `b` as mutable, as it is not declared as mutable
2 --> $DIR/mut-borrow-of-mut-ref.rs:5:7
7 | cannot borrow as mutable
8 | try removing `&mut` here
10 error[E0596]: cannot borrow `b` as mutable, as it is not declared as mutable
11 --> $DIR/mut-borrow-of-mut-ref.rs:7:12
16 | cannot borrow as mutable
17 | try removing `&mut` here
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0596`.