diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-21 13:31:21 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-21 13:34:06 +0100 |
| commit | c3303c7b086fef4d2571869fe6040ca9455c6e38 (patch) | |
| tree | ddb1aafebbf15225b4966531241686dd8e8d991e | |
| parent | dbef35309d10bed2f09cd55b3e9ea980a58c62aa (diff) | |
| download | rust-c3303c7b086fef4d2571869fe6040ca9455c6e38.tar.gz rust-c3303c7b086fef4d2571869fe6040ca9455c6e38.zip | |
Clean up E0323, E0324 and E0325 explanations
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0323.md | 1 | ||||
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0324.md | 5 | ||||
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0325.md | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0323.md b/src/librustc_error_codes/error_codes/E0323.md index 6d34c35f9cb..0bf42d17ebc 100644 --- a/src/librustc_error_codes/error_codes/E0323.md +++ b/src/librustc_error_codes/error_codes/E0323.md @@ -1,4 +1,5 @@ An associated const was implemented when another trait item was expected. + Erroneous code example: ```compile_fail,E0323 diff --git a/src/librustc_error_codes/error_codes/E0324.md b/src/librustc_error_codes/error_codes/E0324.md index b8c9e596990..1442cb77dd9 100644 --- a/src/librustc_error_codes/error_codes/E0324.md +++ b/src/librustc_error_codes/error_codes/E0324.md @@ -1,5 +1,6 @@ -A method was implemented when another trait item was expected. Erroneous -code example: +A method was implemented when another trait item was expected. + +Erroneous code example: ```compile_fail,E0324 struct Bar; diff --git a/src/librustc_error_codes/error_codes/E0325.md b/src/librustc_error_codes/error_codes/E0325.md index f685b92cbf0..656fd1ec82b 100644 --- a/src/librustc_error_codes/error_codes/E0325.md +++ b/src/librustc_error_codes/error_codes/E0325.md @@ -1,4 +1,5 @@ An associated type was implemented when another trait item was expected. + Erroneous code example: ```compile_fail,E0325 |
