Skip to content

Commit

Permalink
Rollup merge of rust-lang#74123 - GuillaumeGomez:cleanup-e0718, r=pic…
Browse files Browse the repository at this point in the history
…kfire

clean up E0718 explanation

r? @Dylan-DPC
  • Loading branch information
Manishearth authored Jul 13, 2020
2 parents ab63c08 + 4728438 commit 3239e02
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 3239e02

Please sign in to comment.