Skip to content

Commit 23e6273

Browse files
committed
Allow several Clippy lints
1 parent 4aef6bb commit 23e6273

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,14 @@ restriction = { level = "warn", priority = -2 }
182182
blanket_clippy_restriction_lints = { level = "allow", priority = 5 }
183183

184184
absolute_paths = "allow"
185-
as_conversions = "allow"
185+
arbitrary_source_item_ordering = "allow" # requires major refactor, perhaps someday
186186
arithmetic_side_effects = "allow"
187+
as_conversions = "allow"
187188
bool_to_int_with_if = "allow"
188189
default_numeric_fallback = "allow"
189190
else_if_without_else = "allow"
190191
expect_used = "allow"
192+
field_scoped_visibility_modifiers = "allow" # too strict
191193
float_arithmetic = "allow"
192194
implicit_return = "allow"
193195
indexing_slicing = "allow"
@@ -218,7 +220,9 @@ std_instead_of_core = "allow"
218220
tabs_in_doc_comments = "allow"
219221
tests_outside_test_module = "allow"
220222
too_many_lines = "allow"
223+
unused_self = "allow"
221224
unwrap_used = "allow"
225+
used_underscore_items = "allow" # See: https://github.com/rust-lang/rust-clippy/issues/13478
222226
wildcard_enum_match_arm = "allow"
223227

224228
[lints.rustdoc]

0 commit comments

Comments
 (0)