You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: current MSRV (Minimum Supported Rust Version) is `1.85.0` but this item is stable since `1.87.0`
--> src/lib.rs:5:13
|
5 | let _ = std::io::pipe();
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
= note: `#[warn(clippy::incompatible_msrv)]` on by default
The
incompatible_msrv
lint doesn't recognize that code is gated by#[cfg(version(...))]
, and complains about the usage anyways.Take this code:
With this toml:
It will lint, even though the code is fine:
cc rust-lang/rust#64796
#[cfg(version(...))]
tracking issueThe text was updated successfully, but these errors were encountered: