fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
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`.