Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez
Remove `rustc::existing_doc_keyword` lint The check doesn't require a lint. r? ``@GuillaumeGomez``
This commit is contained in:
commit
52b4557639
25 changed files with 119 additions and 176 deletions
|
@ -1,8 +1,10 @@
|
|||
error: `foo df` is not a valid identifier
|
||||
error: nonexistent keyword `foo df` used in `#[doc(keyword = "...")]`
|
||||
--> $DIR/invalid-keyword.rs:3:17
|
||||
|
|
||||
LL | #[doc(keyword = "foo df")]
|
||||
| ^^^^^^^^
|
||||
|
|
||||
= help: only existing keywords are allowed in core/std
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue