mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
beb49bad26
Fix cargo_common_metadata warning on `publish = false`. I believe `cargo_common_metadata` shouldn't trigger when `publish = false`, not sure if everybody agrees. Made some tests to handle all edge-cases. Fixes #6649. changelog: [`cargo_common_metadata`](https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata): No longer lints if [`publish = false`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field) is defined in the manifest |
||
---|---|---|
.. | ||
bad_toml | ||
bad_toml_type | ||
conf_deprecated_key | ||
fn_params_excessive_bools | ||
functions_maxlines | ||
good_toml_no_false_negatives | ||
invalid_min_rust_version | ||
lint_decimal_readability | ||
min_rust_version | ||
struct_excessive_bools | ||
toml_blacklist | ||
toml_disallowed_method | ||
toml_trivially_copy | ||
toml_unknown_key | ||
vec_box_sized | ||
zero_single_char_names | ||
update-all-references.sh |