Skip to content

Commit f885a13

Browse files
committed
Ignore incompatible_msrv clippy false positives in test
rust-lang/rust-clippy#12257 warning: current MSRV (Minimum Supported Rust Version) is `1.39.0` but this item is stable since `1.64.0` --> tests/test_macros.rs:64:39 | 64 | future::ready(anyhow!("...")).await; | ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv = note: `-W clippy::incompatible-msrv` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::incompatible_msrv)]` warning: current MSRV (Minimum Supported Rust Version) is `1.39.0` but this item is stable since `1.48.0` --> tests/test_macros.rs:64:9 | 64 | future::ready(anyhow!("...")).await; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv warning: current MSRV (Minimum Supported Rust Version) is `1.39.0` but this item is stable since `1.64.0` --> tests/test_macros.rs:72:59 | 72 | future::ready(anyhow!(message(Cell::new("...")))).await; | ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv warning: current MSRV (Minimum Supported Rust Version) is `1.39.0` but this item is stable since `1.48.0` --> tests/test_macros.rs:72:9 | 72 | future::ready(anyhow!(message(Cell::new("...")))).await; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
1 parent fefbcbc commit f885a13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![allow(
22
clippy::assertions_on_result_states,
33
clippy::eq_op,
4+
clippy::incompatible_msrv, // https://github.com/rust-lang/rust-clippy/issues/12257
45
clippy::items_after_statements,
56
clippy::needless_pass_by_value,
67
clippy::shadow_unrelated,

0 commit comments

Comments
 (0)