]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-68049-1.stderr
Rollup merge of #105526 - Xiretza:iter-from-generator-derive, r=scottmcm
[rust.git] / tests / ui / suggestions / issue-68049-1.stderr
1 error[E0594]: cannot assign to `self.0`, which is behind a `&` reference
2   --> $DIR/issue-68049-1.rs:7:9
3    |
4 LL |         self.0 += 1;
5    |         ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0594`.