Skip to content

Commit 5285d05

Browse files
committed
Remove no longer necessary allowed lints
1 parent 087e9ac commit 5285d05

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ members = [
2323
missing_debug_implementations = "warn"
2424
rust_2018_idioms = "warn"
2525
single_use_lifetimes = "warn"
26+
unexpected_cfgs = { level = "warn", check-cfg = [
27+
'cfg(futures_sanitizer)',
28+
] }
2629
unreachable_pub = "warn"
27-
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(futures_sanitizer)'] }
2830
# unsafe_op_in_unsafe_fn = "warn" # Set at crate-level instead since https://github.com/rust-lang/rust/pull/100081 is not available on MSRV
2931
[workspace.lints.clippy]
3032
incompatible_msrv = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12273, https://github.com/rust-lang/rust-clippy/issues/12257

futures-channel/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
)
2121
))]
2222
#![warn(missing_docs, unsafe_op_in_unsafe_fn)]
23-
#![allow(clippy::arc_with_non_send_sync)] // false positive https://github.com/rust-lang/rust-clippy/issues/11076
2423

2524
#[cfg_attr(target_os = "none", cfg(target_has_atomic = "ptr"))]
2625
#[cfg(feature = "alloc")]

futures-util/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#![warn(missing_docs, unsafe_op_in_unsafe_fn)]
1313
#![cfg_attr(docsrs, feature(doc_cfg))]
1414
#![allow(clippy::needless_borrow)] // https://github.com/rust-lang/futures-rs/pull/2558#issuecomment-1030745203
15-
#![allow(clippy::arc_with_non_send_sync)] // false positive https://github.com/rust-lang/rust-clippy/issues/11076
1615

1716
#[cfg(all(feature = "bilock", not(feature = "unstable")))]
1817
compile_error!("The `bilock` feature requires the `unstable` feature as an explicit opt-in to unstable features");

futures/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ pub use futures_util::lock;
145145
#[doc(inline)]
146146
pub use futures_util::io;
147147

148-
#[allow(clippy::mixed_attributes_style)] // https://github.com/rust-lang/rust-clippy/issues/12435
149148
#[cfg(feature = "executor")]
150149
#[cfg_attr(docsrs, doc(cfg(feature = "executor")))]
151150
pub mod executor {
@@ -198,7 +197,6 @@ pub mod executor {
198197
pub use futures_executor::{ThreadPool, ThreadPoolBuilder};
199198
}
200199

201-
#[allow(clippy::mixed_attributes_style)] // https://github.com/rust-lang/rust-clippy/issues/12435
202200
#[cfg(feature = "compat")]
203201
#[cfg_attr(docsrs, doc(cfg(feature = "compat")))]
204202
pub mod compat {

0 commit comments

Comments
 (0)