Skip to content

Commit

Permalink
Rollup merge of #74123 - GuillaumeGomez:cleanup-e0718, r=pickfire
Browse files Browse the repository at this point in the history
clean up E0718 explanation

r? @Dylan-DPC
  • Loading branch information
Manishearth committed Jul 14, 2020
2 parents e553243 + 4728438 commit 549aa03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/librustc_error_codes/error_codes/E0718.md
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit 549aa03

Please sign in to comment.