mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user