]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/issue-80186-mut-binding-help-suggestion.stderr
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[rust.git] / src / test / ui / pattern / issue-80186-mut-binding-help-suggestion.stderr
1 error: `mut` must be attached to each individual binding
2   --> $DIR/issue-80186-mut-binding-help-suggestion.rs:5:9
3    |
4 LL |     let mut &x = &0;
5    |         ^^^^^^ help: add `mut` to each binding: `&(mut x)`
6    |
7    = note: `mut` may be followed by `variable` and `variable @ pattern`
8
9 error: aborting due to previous error
10