We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The diagnostics chapter should explain how allow/deny/etc works when the same rule is applied at different levels. For example:
#[allow(unused)] { #[deny(unused)] { // Everything here is deny. } }
This is pretty self-evident, but the docs should be explicit how this scoping works (it's fairly unusual attribute behavior).
Also, it should probably mention lint groups. For example:
#[allow(unused)] { #[deny(unused_variables)] { // all unused lints are allow, except unused_variables. } }
The text was updated successfully, but these errors were encountered:
rust-lang/rust#77534 changed the behavior of overriding the same lint in the same scope. The rules for that should also be included.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The diagnostics chapter should explain how allow/deny/etc works when the same rule is applied at different levels. For example:
This is pretty self-evident, but the docs should be explicit how this scoping works (it's fairly unusual attribute behavior).
Also, it should probably mention lint groups. For example:
The text was updated successfully, but these errors were encountered: