rustdoc: deprecate #![doc(no_default_passes)], #![doc(passes "...")], #![doc(plugins = "...")] #48164
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
While digging around in librustdoc, i found this little nugget:
rust/src/librustdoc/lib.rs
Lines 593 to 610 in 16362c7
What this does is handle the
#![doc(no_default_passes)]
,#![doc(passes "...")]
, and#![doc(plugins = "...")]
attributes the same way as the--no-defaults
,--passes
, and--plugins
CLI flags. It would be useful to provide an analogue to--document-private-items
and emit deprecation warnings for these attributes, as part of deprecating passes and plugins generally.The text was updated successfully, but these errors were encountered: