]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/huge_multispan_highlight.stderr
Auto merge of #54265 - arielb1:civilize-proc-macros, r=alexcrichton
[rust.git] / src / test / ui / codemap_tests / huge_multispan_highlight.stderr
1 error[E0596]: cannot borrow immutable local variable `x` as mutable
2   --> $DIR/huge_multispan_highlight.rs:100:18
3    |
4 LL |     let x = "foo";
5    |         - help: make this binding mutable: `mut x`
6 ...
7 LL |     let y = &mut x; //~ ERROR cannot borrow
8    |                  ^ cannot borrow mutably
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0596`.