Closed
Description
While digging around in librustdoc, i found this little nugget:
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.