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
Nightly clippy supports specifying the MSRV which disables lints incompatible with this Rust versions, e.g., because it requires library functions not yet available. https://github.com/rust-lang/rust-clippy/blob/master/README.md#specifying-the-minimum-supported-rust-version
This is not yet available on stable clippy, so it cannot be used yet, since then clippy complains about unknown keys in the config file.
The alternative, custom inner attributes, is not yet stable in Rust and also cannot be used.
At some point, clippy will hopefully support the rust-version field from Cargo.toml (rust-lang/rust-clippy#7765) such that it is not necessary to have a separate configuration just for clippy.
The text was updated successfully, but these errors were encountered:
rust-lang/rust-clippy#8774 has been merged and will be available on nightly once clippy has been updated in the main repo. Just for your information ;)
Thanks for the information and for actually implementing the feature :) That hopefully means that future clippy versions will make fewer bad suggestions. The MSRV on the master branch is currently quite high, so this will likely not affect many places.
Nightly clippy supports specifying the MSRV which disables lints incompatible with this Rust versions, e.g., because it requires library functions not yet available.
https://github.com/rust-lang/rust-clippy/blob/master/README.md#specifying-the-minimum-supported-rust-version
This is not yet available on stable clippy, so it cannot be used yet, since then clippy complains about unknown keys in the config file.
The alternative, custom inner attributes, is not yet stable in Rust and also cannot be used.
At some point, clippy will hopefully support the
rust-version
field fromCargo.toml
(rust-lang/rust-clippy#7765) such that it is not necessary to have a separate configuration just for clippy.The text was updated successfully, but these errors were encountered: