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

error: aborting due to previous error