Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/librustc_error_codes/error_codes/E0368.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/librustc_error_codes/error_codes/E0369.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
A binary operation was attempted on a type which doesn't support it.

Erroneous code example:

```compile_fail,E0369
Expand Down