diff --git a/Cargo.toml b/Cargo.toml index ee078da..1fdd740 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,6 +47,10 @@ shadow_unrelated = "deny" # documented on the corresponding unsafe implementations. non_send_fields_in_send_ty = { level = "allow", priority = 1 } +# This conflicts with rustc's `unreachable_pub` for crate-visible items inside +# private modules: https://github.com/rust-lang/rust-clippy/issues/5369 +redundant_pub_crate = { level = "allow", priority = 1 } + # Force using expect and providing a reason allow_attributes = "deny" allow_attributes_without_reason = "deny"