-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Turn style lints to warn by default #11432
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
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Comments
Looks like #11457 has fixed the issue. Should we close this? |
#11457 hasn't landed yet. |
I was trying to set |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Apr 3, 2025
This PR resolves rust-lang#11432 by checking that paths resolve in `disallowed_*` configurations. It also does some lightweight validation of definition kinds. For example, only paths that resolve to `DefKind::Macro` definitions are allowed in `disallowed_macro` configurations. ~The PR is currently two commits. The first is rust-lang#14376 (cc: @Jarcho), which I submitted just a few days ago. The second commit is everything else.~ Side note: For me, the most difficult part of this PR was getting the spans of the individual `DisallowedPath` configurations. There is some discussion at toml-rs/toml#840, if interested. changelog: validate paths in `disallowed_*` configurations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Our stylistic lints are set to
allow
currently, which makes them very ineffective at promoting a consistent style across the Rust ecosystem. We should turn them on and force users to opt out of the community style.The text was updated successfully, but these errors were encountered: