]> git.lizzy.rs Git - rust.git/blob - src/test/ui/assignment-operator-unimplemented.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / assignment-operator-unimplemented.stderr
1 error[E0368]: binary assignment operation `+=` cannot be applied to type `Foo`
2   --> $DIR/assignment-operator-unimplemented.rs:6:3
3    |
4 LL |   a += *b;
5    |   -^^^^^^
6    |   |
7    |   cannot use `+=` on type `Foo`
8    |
9    = note: an implementation of `std::ops::AddAssign` might be missing for `Foo`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0368`.