fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
404 B12 linesraw
1error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable
2  --> $DIR/huge_multispan_highlight.rs:90:13
3   |
4LL |     let x = "foo";
5   |         - help: consider changing this to be mutable: `mut x`
6...
7LL |     let y = &mut x;
8   |             ^^^^^^ cannot borrow as mutable
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0596`.