Skip to content

Commit 8d59e08

Browse files
authored
Merge pull request #8897 from cakebaker/cargo_toml_remove_lints_clippy_section
Cargo.toml: remove `lints.clippy` section
2 parents 16af7d4 + 0ae7de1 commit 8d59e08

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

Cargo.toml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -616,25 +616,10 @@ strip = true
616616
inherits = "release"
617617
debug = true
618618

619-
[lints.clippy]
620-
multiple_crate_versions = "allow"
621-
cargo_common_metadata = "allow"
622-
missing_panics_doc = "allow"
623-
# TODO remove when https://github.com/rust-lang/rust-clippy/issues/13774 is fixed
624-
large_stack_arrays = "allow"
625-
626-
needless_pass_by_value = "warn"
627-
semicolon_if_nothing_returned = "warn"
628-
single_char_pattern = "warn"
629-
explicit_iter_loop = "warn"
630-
if_not_else = "warn"
631-
632-
all = { level = "deny", priority = -1 }
633-
cargo = { level = "warn", priority = -1 }
634-
pedantic = { level = "deny", priority = -1 }
619+
[lints]
620+
workspace = true
635621

636622
# This is the linting configuration for all crates.
637-
# Eventually the clippy settings from the `[lints]` section should be moved here.
638623
# In order to use these, all crates have `[lints] workspace = true` section.
639624
[workspace.lints.rust]
640625
# Allow "fuzzing" as a "cfg" condition name

0 commit comments

Comments
 (0)