We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a "new" field in the Cargo.toml that can be used to specify the minimum supported rust version: rust-version
Cargo.toml
rust-version
This feels somewhat redundant to the msrv in the clippy.toml file: https://github.com/rust-lang/rust-clippy/blob/master/README.md#specifying-the-minimum-supported-rust-version
msrv
clippy.toml
If I see it correctly, clippy currently ignores the rust-version field from Cargo.toml.
Would it be a good approach to take that field into account when searching for a msrv?
rustc 1.62.0-nightly (18f314e70 2022-04-24) binary: rustc commit-hash: 18f314e7027fe7084aaab8620c624a0d7bd29e70 commit-date: 2022-04-24 host: x86_64-unknown-linux-gnu release: 1.62.0-nightly LLVM version: 14.0.1
@rustbot modify labels: A-clippy T-cargo
The text was updated successfully, but these errors were encountered:
b776fb8
Successfully merging a pull request may close this issue.
Description
There is a "new" field in the
Cargo.toml
that can be used to specify the minimum supported rust version:rust-version
This feels somewhat redundant to the
msrv
in theclippy.toml
file: https://github.com/rust-lang/rust-clippy/blob/master/README.md#specifying-the-minimum-supported-rust-versionIf I see it correctly, clippy currently ignores the
rust-version
field fromCargo.toml
.Would it be a good approach to take that field into account when searching for a msrv?
Version
Additional Labels
@rustbot modify labels: A-clippy T-cargo
The text was updated successfully, but these errors were encountered: