Skip to content

Commit cfed378

Browse files
authored
Rollup merge of #69427 - GuillaumeGomez:cleanup-e0368-e0369, r=Dylan-DPC
Cleanup e0368 e0369 r? @Dylan-DPC
2 parents 3e7a18e + ca5bbd1 commit cfed378

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/librustc_error_codes/error_codes/E0368.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
This error indicates that a binary assignment operator like `+=` or `^=` was
2-
applied to a type that doesn't support it. For example:
1+
A binary assignment operator like `+=` or `^=` was applied to a type that
2+
doesn't support it.
3+
4+
Erroneous code example:
35

46
```compile_fail,E0368
57
let mut x = 12f32; // error: binary operation `<<` cannot be applied to

src/librustc_error_codes/error_codes/E0369.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
A binary operation was attempted on a type which doesn't support it.
2+
23
Erroneous code example:
34

45
```compile_fail,E0369

0 commit comments

Comments
 (0)