summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/librustc_error_codes/error_codes/E0118.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0118.md b/src/librustc_error_codes/error_codes/E0118.md
index baf35ff..5cb5f50 100644
--- a/src/librustc_error_codes/error_codes/E0118.md
+++ b/src/librustc_error_codes/error_codes/E0118.md
@@ -1,5 +1,7 @@
1You're trying to write an inherent implementation for something which isn't a 1An inherent implementation was defined for something which isn't a struct nor
2struct nor an enum. Erroneous code example: 2an enum.
3
4Erroneous code example:
3 5
4```compile_fail,E0118 6```compile_fail,E0118
5impl (u8, u8) { // error: no base type found for inherent implementation 7impl (u8, u8) { // error: no base type found for inherent implementation