]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/huge_multispan_highlight.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / codemap_tests / huge_multispan_highlight.stderr
1 error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable
2   --> $DIR/huge_multispan_highlight.rs:90:13
3    |
4 LL |     let x = "foo";
5    |         - help: consider changing this to be mutable: `mut x`
6 ...
7 LL |     let y = &mut x;
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`.