diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-13 22:23:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-13 22:23:10 -0700 |
| commit | 549aa03d862d45f5c33fae2ea2a2d2d537207bda (patch) | |
| tree | 50c5aa0877661a9ceb77af8fe3b6f359bbfadc91 | |
| parent | e5532436a19ec421ec0d510df3428f9517c31d0a (diff) | |
| parent | 472843834491b28b8dda558c50da2763574b4839 (diff) | |
| download | rust-549aa03d862d45f5c33fae2ea2a2d2d537207bda.tar.gz rust-549aa03d862d45f5c33fae2ea2a2d2d537207bda.zip | |
Rollup merge of #74123 - GuillaumeGomez:cleanup-e0718, r=pickfire
clean up E0718 explanation r? @Dylan-DPC
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0718.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_error_codes/error_codes/E0718.md b/src/librustc_error_codes/error_codes/E0718.md index e7ae51ca588..1fe62ecf1f4 100644 --- a/src/librustc_error_codes/error_codes/E0718.md +++ b/src/librustc_error_codes/error_codes/E0718.md @@ -1,7 +1,6 @@ -This error indicates that a `#[lang = ".."]` attribute was placed -on the wrong type of item. +A `#[lang = ".."]` attribute was placed on the wrong item type. -Examples of erroneous code: +Erroneous code example: ```compile_fail,E0718 #![feature(lang_items)] |
