]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/issue-80186-mut-binding-help-suggestion.stderr
Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors
[rust.git] / tests / 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