Skip to content

Commit f5ff22c

Browse files
committed
Update allowed lint list
1 parent a4910c1 commit f5ff22c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ unused_trait_names = "warn"
7575
# Suppress buggy or noisy clippy lints
7676
bool_assert_comparison = { level = "allow", priority = 1 }
7777
borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286
78-
cast_lossless = { level = "allow", priority = 1 } # https://godbolt.org/z/Pv6vbGG6E
78+
cast_lossless = { level = "allow", priority = 1 } # suggested code has poor codegen with -C opt-level=0 https://godbolt.org/z/GzTxzbd9q
79+
collapsible_match = { level = "allow", priority = 1 }
7980
declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
8081
doc_markdown = { level = "allow", priority = 1 }
8182
float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725
8283
incompatible_msrv = { level = "allow", priority = 1 } # buggy: doesn't consider cfg, https://github.com/rust-lang/rust-clippy/issues/12280, https://github.com/rust-lang/rust-clippy/issues/12257#issuecomment-2093667187
83-
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920
8484
manual_assert = { level = "allow", priority = 1 }
8585
manual_range_contains = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/6455#issuecomment-1225966395
8686
missing_errors_doc = { level = "allow", priority = 1 }
@@ -96,7 +96,6 @@ struct_field_names = { level = "allow", priority = 1 }
9696
too_many_arguments = { level = "allow", priority = 1 }
9797
too_many_lines = { level = "allow", priority = 1 }
9898
type_complexity = { level = "allow", priority = 1 }
99-
unreadable_literal = { level = "allow", priority = 1 }
10099

101100
[profile.release]
102101
codegen-units = 1

0 commit comments

Comments
 (0)