File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ members = [
2323missing_debug_implementations = " warn"
2424rust_2018_idioms = " warn"
2525single_use_lifetimes = " warn"
26+ unexpected_cfgs = { level = " warn" , check-cfg = [
27+ ' cfg(futures_sanitizer)' ,
28+ ] }
2629unreachable_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 ]
3032incompatible_msrv = { level = " allow" , priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12273, https://github.com/rust-lang/rust-clippy/issues/12257
Original file line number Diff line number Diff line change 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" ) ]
Original file line number Diff line number Diff line change 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" ) ) ) ]
1817compile_error ! ( "The `bilock` feature requires the `unstable` feature as an explicit opt-in to unstable features" ) ;
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ pub use futures_util::lock;
145145#[ doc( inline) ]
146146pub 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" ) ) ) ]
151150pub 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" ) ) ) ]
204202pub mod compat {
You can’t perform that action at this time.
0 commit comments