Skip to content

Commit

Permalink
Ignore incompatible_msrv clippy false positive in test
Browse files Browse the repository at this point in the history
rust-lang/rust-clippy#12257

    warning: current MSRV (Minimum Supported Rust Version) is `1.60.0` but this item is stable since `1.64.0`
      --> tests/cxx_string.rs:16:15
       |
    16 |         g(&s).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)]`
  • Loading branch information
dtolnay committed Feb 10, 2024
1 parent 375d159 commit 5cda105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cxx_string.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(
clippy::incompatible_msrv, // https://github.com/rust-lang/rust-clippy/issues/12257
clippy::items_after_statements,
clippy::uninlined_format_args,
clippy::unused_async
Expand Down

0 comments on commit 5cda105

Please sign in to comment.