fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
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`.