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 = [
23
23
missing_debug_implementations = " warn"
24
24
rust_2018_idioms = " warn"
25
25
single_use_lifetimes = " warn"
26
+ unexpected_cfgs = { level = " warn" , check-cfg = [
27
+ ' cfg(futures_sanitizer)' ,
28
+ ] }
26
29
unreachable_pub = " warn"
27
- unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(futures_sanitizer)' ] }
28
30
# 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
29
31
[workspace .lints .clippy ]
30
32
incompatible_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 20
20
)
21
21
) ) ]
22
22
#![ 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
24
23
25
24
#[ cfg_attr( target_os = "none" , cfg( target_has_atomic = "ptr" ) ) ]
26
25
#[ cfg( feature = "alloc" ) ]
Original file line number Diff line number Diff line change 12
12
#![ warn( missing_docs, unsafe_op_in_unsafe_fn) ]
13
13
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
14
14
#![ 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
16
15
17
16
#[ cfg( all( feature = "bilock" , not( feature = "unstable" ) ) ) ]
18
17
compile_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;
145
145
#[ doc( inline) ]
146
146
pub use futures_util:: io;
147
147
148
- #[ allow( clippy:: mixed_attributes_style) ] // https://github.com/rust-lang/rust-clippy/issues/12435
149
148
#[ cfg( feature = "executor" ) ]
150
149
#[ cfg_attr( docsrs, doc( cfg( feature = "executor" ) ) ) ]
151
150
pub mod executor {
@@ -198,7 +197,6 @@ pub mod executor {
198
197
pub use futures_executor:: { ThreadPool , ThreadPoolBuilder } ;
199
198
}
200
199
201
- #[ allow( clippy:: mixed_attributes_style) ] // https://github.com/rust-lang/rust-clippy/issues/12435
202
200
#[ cfg( feature = "compat" ) ]
203
201
#[ cfg_attr( docsrs, doc( cfg( feature = "compat" ) ) ) ]
204
202
pub mod compat {
You can’t perform that action at this time.
0 commit comments