mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
11 lines
327 B
Plaintext
11 lines
327 B
Plaintext
error: `mut` must be attached to each individual binding
|
|
--> $DIR/issue-80186-mut-binding-help-suggestion.rs:5:9
|
|
|
|
|
LL | let mut &x = &0;
|
|
| ^^^^^^ help: add `mut` to each binding: `&(mut x)`
|
|
|
|
|
= note: `mut` may be followed by `variable` and `variable @ pattern`
|
|
|
|
error: aborting due to previous error
|
|
|