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