]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable |
0731742a | 2 | --> $DIR/huge_multispan_highlight.rs:90:13 |
83c7162d | 3 | | |
94b46f34 XL |
4 | LL | let x = "foo"; |
5 | | - help: consider changing this to be mutable: `mut x` | |
6 | ... | |
83c7162d XL |
7 | LL | let y = &mut x; //~ ERROR cannot borrow |
8 | | ^^^^^^ cannot borrow as mutable | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0596`. |