fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
211 B8 linesraw
1error: the order of `mut` and `ref` is incorrect
2  --> $DIR/mut-ref.rs:2:9
3   |
4LL |     let mut ref x = 10;
5   |         ^^^^^^^ help: try switching the order: `ref mut`
6
7error: aborting due to previous error
8