2 Compiling borrowing v0.1.0 (file:///projects/borrowing)
3 error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable
7 | - help: consider changing this to be mutable: `mut x`
9 | ^^^^^^ cannot borrow as mutable
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0596`.
14 error: could not compile `borrowing`.
16 To learn more, run the command again with --verbose.