summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/huge_multispan_highlight.stderr
blob: 42eb1e9cb2193a2f46b4ccc44df4a240753cf07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0596]: cannot borrow immutable local variable `x` as mutable
  --> $DIR/huge_multispan_highlight.rs:100:18
   |
LL |     let x = "foo";
   |         - help: make this binding mutable: `mut x`
...
LL |     let y = &mut x; //~ ERROR cannot borrow
   |                  ^ cannot borrow mutably

error: aborting due to previous error

For more information about this error, try `rustc --explain E0596`.