2017-07-26 10:59:07 -05:00
|
|
|
error: the order of `mut` and `ref` is incorrect
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/mut-ref.rs:2:9
|
2017-07-26 10:59:07 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let mut ref x = 10;
|
2017-07-26 10:59:07 -05:00
|
|
|
| ^^^^^^^ help: try switching the order: `ref mut`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|