
15

Github Make rustdoc lints a tool lint instead of built-in by jyn514 · Pull Reque...
source link: https://github.com/rust-lang/rust/pull/80527
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Make rustdoc lints a tool lint instead of built-in by jyn514 · Pull Request #80527 · rust-lang/rust · GitHub
- Rename
broken_intra_doc_links
torustdoc::broken_intra_doc_links
(and similar for other rustdoc lints; I don't expect any others to be used frequently, though). - Ensure that the old lint names still work and give deprecation errors
- Register lints even when running doctests
- Move lint machinery into a separate file
- Add
declare_rustdoc_lint!
macro
Unblocks #80300, #79816, #80965. Makes the strangeness in #77364 more apparent to the end user (note that missing_docs
is not moved to rustdoc in this PR). Closes #78786.
Current status
This is blocked on #82620 (see #80527 (comment))
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK