clippy: add collection_is_never_read clippy lint (#10703)

This commit is contained in:
Thomas Coratger
2024-09-04 15:07:26 -07:00
committed by GitHub
parent f8e5b181bb
commit 1ef4d6d61b
3 changed files with 2 additions and 8 deletions

View File

@ -171,6 +171,7 @@ rustdoc.all = "warn"
branches_sharing_code = "warn"
clear_with_drain = "warn"
cloned_instead_of_copied = "warn"
collection_is_never_read = "warn"
derive_partial_eq_without_eq = "warn"
doc_markdown = "warn"
empty_line_after_doc_comments = "warn"
@ -231,7 +232,6 @@ zero_sized_map_values = "warn"
# Explicitly listing should make it easier to fix in the future.
as_ptr_cast_mut = "allow"
cognitive_complexity = "allow"
collection_is_never_read = "allow"
debug_assert_with_mut_call = "allow"
fallible_impl_from = "allow"
future_not_send = "allow"