mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
8 lines
213 B
Text
8 lines
213 B
Text
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
|
|
|