Add unreachable_pub
to the default lints for compiler/
crates.
And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`.
This commit is contained in:
parent
beba32cebb
commit
9212e31c92
9 changed files with 16 additions and 15 deletions
|
@ -74,6 +74,7 @@ exclude = [
|
|||
# FIXME(edition_2024): Change this to `-Wrust_2024_idioms` when all of the
|
||||
# individual lints are satisfied.
|
||||
keyword_idents_2024 = "warn"
|
||||
unreachable_pub = "warn"
|
||||
unsafe_op_in_unsafe_fn = "warn"
|
||||
|
||||
[profile.release.package.rustc-rayon-core]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue