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