rust/tests/ui/mut/mut-ref.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
211 B
Plaintext
Raw Normal View History

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