ID
Size: a a a
ID
ΑZ
Нк
ID
ΑZ
rust
fn main() {
let arr = [5,6,7];
arr += 3;
}
error[E0368]: binary assignment operation `+=` cannot be applied to type `[{integer}; 3]`
--> 2092366992/source.rs:3:3
|
3 | arr += 3;
| ---^^^^^
| |
| cannot use `+=` on type `[{integer}; 3]`
|
= note: an implementation of `std::ops::AddAssign` might be missing for `[{integer}; 3]`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0368`.
AK
Нк
rust
fn main() {
let arr = [5,6,7];
arr += 3;
}
error[E0368]: binary assignment operation `+=` cannot be applied to type `[{integer}; 3]`
--> 2092366992/source.rs:3:3
|
3 | arr += 3;
| ---^^^^^
| |
| cannot use `+=` on type `[{integer}; 3]`
|
= note: an implementation of `std::ops::AddAssign` might be missing for `[{integer}; 3]`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0368`.
Нк
ΑZ
Нк
ΑZ
Нк
Нк
r
ΑZ
Нк
Нк
ID
ΑZ
ΑZ