mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
9 lines
211 B
Plaintext
9 lines
211 B
Plaintext
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 previous error
|
|
|