fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
407 B13 linesraw
1error[E0368]: binary assignment operation `+=` cannot be applied to type `Foo`
2  --> $DIR/assignment-operator-unimplemented.rs:6:3
3   |
4LL |   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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0368`.