1
Fork 0

Rollup merge of #69427 - GuillaumeGomez:cleanup-e0368-e0369, r=Dylan-DPC

Cleanup e0368 e0369

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-02-24 20:10:15 +01:00 committed by GitHub
commit cfed378da2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -1,4 +1,5 @@
A binary operation was attempted on a type which doesn't support it.
Erroneous code example:
```compile_fail,E0369