Skip to content

Commit 3e2c095

Browse files
authored
Rollup merge of #74123 - GuillaumeGomez:cleanup-e0718, r=pickfire
clean up E0718 explanation r? @Dylan-DPC
2 parents 0be405d + 4728438 commit 3e2c095

File tree

1 file changed

+2
-3
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-3
lines changed

src/librustc_error_codes/error_codes/E0718.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
This error indicates that a `#[lang = ".."]` attribute was placed
2-
on the wrong type of item.
1+
A `#[lang = ".."]` attribute was placed on the wrong item type.
32

4-
Examples of erroneous code:
3+
Erroneous code example:
54

65
```compile_fail,E0718
76
#![feature(lang_items)]

0 commit comments

Comments
 (0)