Skip to content

Commit 3239e02

Browse files
authored
Rollup merge of rust-lang#74123 - GuillaumeGomez:cleanup-e0718, r=pickfire
clean up E0718 explanation r? @Dylan-DPC
2 parents ab63c08 + 4728438 commit 3239e02

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

+2-3
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)