2020-12-19 16:13:50 -06:00
|
|
|
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`
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-12-19 16:13:50 -06:00
|
|
|
|