Description
Cargo is going to stabilize its own linting system. One of the lints is cargo::manual_readme. The lint suggests leave the package.readme unset if the value can be inferred.
However, this conflicts with the behavior of clippy::cargo_common_metadata, which requires package.readme being set even it is exactly the inferred value.
Given the plan here is slowly migrate Cargo lints in clippy to Cargo, I wonder if we should figure out a solution here to stop the conflict. For example, clippy::cargo_common_metadata stops checking package.readme.
Another approach could that Cargo has a similar lint, though I personally don't feel it worth blocking the stabilization.
Version
rustc 1.100.0-nightly (787af2b8c 2026-08-25)
binary: rustc
commit-hash: 787af2b8c80638c51a4fc8e44f84e6891f243ec7
commit-date: 2026-08-25
host: aarch64-apple-darwin
release: 1.100.0-nightly
LLVM version: 23.1.0
Additional Labels
@rustbot label +T-cargo
Description
Cargo is going to stabilize its own linting system. One of the lints is
cargo::manual_readme. The lint suggests leave thepackage.readmeunset if the value can be inferred.However, this conflicts with the behavior of
clippy::cargo_common_metadata, which requirespackage.readmebeing set even it is exactly the inferred value.Given the plan here is slowly migrate Cargo lints in clippy to Cargo, I wonder if we should figure out a solution here to stop the conflict. For example,
clippy::cargo_common_metadatastops checkingpackage.readme.Another approach could that Cargo has a similar lint, though I personally don't feel it worth blocking the stabilization.
Version
Additional Labels
@rustbot label +T-cargo