-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add doc(plugins)
, doc(passes)
, etc. to INVALID_DOC_ATTRIBUTES
#82824
Comments
doc(plugins)
, doc(passes)
, etc. a hard errordoc(plugins)
, doc(passes)
, etc. deprecation warnings to hard errors
I think this should be part of |
|
You don't think we should make it a hard error or you don't think we should make it deny-by-default? |
Also, I thought |
I don't think it should be made an error (either kind). Deprecating it seems ok though. |
We should just include them in |
doc(plugins)
, doc(passes)
, etc. deprecation warnings to hard errorsdoc(plugins)
, doc(passes)
, etc. to INVALID_DOC_ATTRIBUTES
Where in the codebase does this change need to happen? I tried looking for it myself, but couldn't find it. |
@rustbot claim |
This should be fixed in #131732. I'm not quite sure how relevant this issue is today, though — |
Rollup merge of rust-lang#131732 - m4tx:fix-82824, r=davidtwco Add doc(plugins), doc(passes), etc. to INVALID_DOC_ATTRIBUTES This fixes rust-lang#82824.
I think we should make
doc(plugins)
,doc(passes)
, and any similar attributes hard errors.doc(plugins)
is a no-op, and I expect there are almost no people using it. I'm not sure about the status ofdoc(passes)
, but I think it's been deprecated for several years. There are probably other similar attributes that should become hard errors, so please comment if you know of more.I'm not sure if we need to wait to do this in the 2021 Edition since these attributes are likely not used at all, but I'm tagging this issue as
lang-team-202x-edition
and will note this in the#edition 2021
Zulip stream in case it has to happen across an edition boundary.cc #82651, #44136
cc @rust-lang/rustdoc
The text was updated successfully, but these errors were encountered: