diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-07 14:13:03 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-07 14:13:03 +0200 |
| commit | 00980b6ccda5ca6d8039cd493a7aa7f487c47c0d (patch) | |
| tree | 7b006ed49481c54ee79b66a67b7e449d79e8c08e /src/librustc_error_codes/error_codes | |
| parent | f844ea1e561475e6023282ef167e76bc973773ef (diff) | |
| download | rust-00980b6ccda5ca6d8039cd493a7aa7f487c47c0d.tar.gz rust-00980b6ccda5ca6d8039cd493a7aa7f487c47c0d.zip | |
clean up E0718 explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -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..bb401ef6e2d 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 type of item. -Examples of erroneous code: +Erroneous code example: ```compile_fail,E0718 #![feature(lang_items)] |
