summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-12-04 13:35:26 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-12-04 13:35:26 +0100
commit9eaea4d3ea1ae6d6858af1a83a7d44c759a31212 (patch)
tree3a532cfc25c326fc8d868f7c6f53ee4d15287da9
parentClean up E0117 error code long explanation (diff)
downloadrust-9eaea4d3ea1ae6d6858af1a83a7d44c759a31212.tar.gz
rust-9eaea4d3ea1ae6d6858af1a83a7d44c759a31212.tar.bz2
rust-9eaea4d3ea1ae6d6858af1a83a7d44c759a31212.tar.xz
Clean up E0118 error code long explanation
-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