Skip to content
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

Warn on encountering unknown doc-attributes #19219

Closed
qrlpx opened this issue Nov 22, 2014 · 2 comments
Closed

Warn on encountering unknown doc-attributes #19219

qrlpx opened this issue Nov 22, 2014 · 2 comments
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.

Comments

@qrlpx
Copy link

qrlpx commented Nov 22, 2014

Like for allow/warn/forbid, there should be a warning when compiling code like #[doc(foo)].

version: rustc 0.13.0-nightly (81eeec0 2014-11-21 23:16:48 +0000)

@sfackler sfackler added the A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. label Nov 22, 2014
@steveklabnik
Copy link
Member

Triage: no change.

@steveklabnik
Copy link
Member

Since new lints have a big impact on users of rustc, the policy is that they should go through the RFC process like other user-facing changes. As such, I'm going to give this one a close, but if anyone comes across this ticket and wants this lint, consider adding it to clippy and/or writing up an RFC. Thanks!

lnicola pushed a commit to lnicola/rust that referenced this issue Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.
Projects
None yet
Development

No branches or pull requests

3 participants