Skip to content
Myr

Ignore incompatible_msrv clippy false positives in test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

https://github.com/rust-lang/rust-clippy/issues/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

authored by David Tolnay · committed by David Tolnay · parent fefbcbc · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:tests/test_macros.rs+1 added
1#![allow(2 clippy::assertions_on_result_states,3 clippy::eq_op,4 clippy::incompatible_msrv, // https://github.com/rust-lang/rust-clippy/issues/122575 clippy::items_after_statements,6 clippy::needless_pass_by_value,7 clippy::shadow_unrelated,8 clippy::wildcard_imports
73 unmodified lines