Skip to content

Commit

Permalink
Ignore buggy clippy::incompatible_msrv lint
Browse files Browse the repository at this point in the history
```
error: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.37.0`
   --> src/lib.rs:885:32
    |
885 |         let ptr = self.entries.as_mut_ptr();
    |                                ^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
    = note: `-D clippy::incompatible-msrv` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::incompatible_msrv)]`

error: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.37.0`
   --> src/lib.rs:934:37
    |
934 |         let base_ptr = self.entries.as_ptr() as usize;
    |                                     ^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
```
  • Loading branch information
taiki-e committed Sep 15, 2024
1 parent a5381f1 commit fb977ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
no_crate_inject,
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
))]
#![allow(clippy::incompatible_msrv)] // false positive: https://github.com/rust-lang/rust-clippy/issues/12280

//! Pre-allocated storage for a uniform data type.
//!
Expand Down

0 comments on commit fb977ad

Please sign in to comment.