Skip to content

Commit b65d7c8

Browse files
authored
Merge pull request #24 from jwodder/lints-87
Retemplate lints configuration
2 parents fda8e99 + b5eaed9 commit b65d7c8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ checked_conversions = "deny"
157157
clear_with_drain = "deny"
158158
cloned_instead_of_copied = "deny"
159159
collection_is_never_read = "deny"
160+
comparison_chain = "deny"
160161
copy_iterator = "deny"
161162
debug_assert_with_mut_call = "deny"
162163
default_trait_access = "deny"
@@ -174,6 +175,7 @@ flat_map_option = "deny"
174175
float_cmp = "deny"
175176
float_cmp_const = "deny"
176177
fn_to_numeric_cast_any = "deny"
178+
format_collect = "deny"
177179
format_push_string = "deny"
178180
future_not_send = "deny"
179181
get_unwrap = "deny"
@@ -200,7 +202,7 @@ manual_instant_elapsed = "deny"
200202
manual_is_power_of_two = "deny"
201203
manual_is_variant_and = "deny"
202204
manual_let_else = "deny"
203-
manual_ok_or = "deny"
205+
manual_midpoint = "deny"
204206
manual_string_new = "deny"
205207
map_unwrap_or = "deny"
206208
map_with_unused_argument_over_ranges = "deny"
@@ -226,6 +228,7 @@ option_as_ref_cloned = "deny"
226228
or_fun_call = "deny"
227229
path_buf_push_overwrite = "deny"
228230
pathbuf_init_then_push = "deny"
231+
precedence_bits = "deny"
229232
pub_underscore_fields = "deny"
230233
pub_without_shorthand = "deny"
231234
range_minus_one = "deny"
@@ -238,6 +241,7 @@ redundant_closure_for_method_calls = "deny"
238241
redundant_feature_names = "deny"
239242
ref_binding_to_reference = "deny"
240243
rest_pat_in_fully_bound_structs = "deny"
244+
return_and_then = "deny"
241245
same_functions_in_if_condition = "deny"
242246
semicolon_if_nothing_returned = "deny"
243247
set_contains_or_insert = "deny"

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
allow-unwrap-in-tests = true
2+
check-incompatible-msrv-in-tests = true

0 commit comments

Comments
 (0)