Rollup merge of #69427 - GuillaumeGomez:cleanup-e0368-e0369, r=Dylan-DPC
Cleanup e0368 e0369 r? @Dylan-DPC
This commit is contained in:
commit
cfed378da2
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
This error indicates that a binary assignment operator like `+=` or `^=` was
|
||||
applied to a type that doesn't support it. For example:
|
||||
A binary assignment operator like `+=` or `^=` was applied to a type that
|
||||
doesn't support it.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0368
|
||||
let mut x = 12f32; // error: binary operation `<<` cannot be applied to
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
A binary operation was attempted on a type which doesn't support it.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0369
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue