fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0596]: cannot borrow `not_mut` as mutable, as it is not declared as mutable 2 --> $DIR/nested-binding-modes-mut.rs:4:5 3 | 4LL | &mut not_mut; 5 | ^^^^^^^^^^^^ cannot borrow as mutable 6 | 7help: consider changing this to be mutable 8 | 9LL | let mut is_mut @ mut not_mut = 42; 10 | +++ 11 12error[E0596]: cannot borrow `not_mut` as mutable, as it is not declared as mutable 13 --> $DIR/nested-binding-modes-mut.rs:9:5 14 | 15LL | &mut not_mut; 16 | ^^^^^^^^^^^^ cannot borrow as mutable 17 | 18help: consider changing this to be mutable 19 | 20LL | let mut not_mut @ mut is_mut = 42; 21 | +++ 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0596`.