rust-clippy/tests/ui-toml
bors beb49bad26 Auto merge of #6650 - daxpedda:cargo-common-metadata-publish, r=flip1995
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
2021-02-11 09:34:44 +00:00
..
bad_toml Update ui-toml tests 2019-08-14 09:58:00 +02:00
bad_toml_type Remove all copyright license headers 2019-01-08 21:46:39 +01:00
conf_deprecated_key Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
fn_params_excessive_bools add excessive bools lints 2020-02-05 20:54:58 +03:00
functions_maxlines run the specific script suggested by the error message 2020-09-04 21:12:16 -06:00
good_toml_no_false_negatives Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
invalid_min_rust_version add support for minimum supported rust version. 2020-11-25 12:22:47 +01:00
lint_decimal_readability Renamed the configuraiton to unreadable-literal-lint-fractions 2020-12-05 20:59:53 +00:00
min_rust_version add support for minimum supported rust version. 2020-11-25 12:22:47 +01:00
struct_excessive_bools add excessive bools lints 2020-02-05 20:54:58 +03:00
toml_blacklist Remove all copyright license headers 2019-01-08 21:46:39 +01:00
toml_disallowed_method Support free functions in disallowed-methods lint 2021-02-04 11:28:55 -08:00
toml_trivially_copy Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
toml_unknown_key Fux toml_unknown_key test. 2021-02-06 18:21:03 +01:00
vec_box_sized add size parameter for lint 2020-01-25 18:06:52 +03:00
zero_single_char_names Add test for zero single char names 2020-04-15 13:35:44 +02:00
update-all-references.sh Rewrite update-all-references bash scripts in Rust 2020-12-12 15:09:57 +01:00