]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-68049-1.stderr
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / 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`.