Skip to content

Commit 9eaea4d

Browse files
Clean up E0118 error code long explanation
1 parent 1e5450d commit 9eaea4d

File tree

1 file changed

+4
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+4
-2
lines changed

src/librustc_error_codes/error_codes/E0118.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
You're trying to write an inherent implementation for something which isn't a
2-
struct nor an enum. Erroneous code example:
1+
An inherent implementation was defined for something which isn't a struct nor
2+
an enum.
3+
4+
Erroneous code example:
35

46
```compile_fail,E0118
57
impl (u8, u8) { // error: no base type found for inherent implementation

0 commit comments

Comments
 (0)