]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mut/mut-ref.stderr
Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplett
[rust.git] / src / test / ui / mut / mut-ref.stderr
1 error: the order of `mut` and `ref` is incorrect
2   --> $DIR/mut-ref.rs:2:9
3    |
4 LL |     let mut ref x = 10;
5    |         ^^^^^^^ help: try switching the order: `ref mut`
6
7 error: aborting due to previous error
8