blob: edbfd72df615fd49723fa6fd6715f38a3a64419c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: cannot borrow immutable local variable `x` as mutable
--> $DIR/huge_multispan_highlight.rs:100:18
|
12 | let x = "foo";
| - use `mut x` here to make mutable
...
100 | let y = &mut x;
| ^ cannot borrow mutably
error: aborting due to previous error
|