Skip to content

submodules: update clippy from 6651c1b9 to 891e1a85 #71278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/clippy
Submodule clippy updated 89 files
+3 −2 .github/workflows/clippy_bors.yml
+1 −1 .github/workflows/clippy_dev.yml
+2 −0 CHANGELOG.md
+2 −2 README.md
+5 −5 clippy_lints/src/assign_ops.rs
+5 −5 clippy_lints/src/attrs.rs
+2 −2 clippy_lints/src/bit_mask.rs
+5 −5 clippy_lints/src/booleans.rs
+2 −2 clippy_lints/src/collapsible_if.rs
+4 −4 clippy_lints/src/copies.rs
+4 −4 clippy_lints/src/derive.rs
+2 −2 clippy_lints/src/empty_enum.rs
+3 −3 clippy_lints/src/entry.rs
+36 −24 clippy_lints/src/eq_op.rs
+4 −4 clippy_lints/src/eta_reduction.rs
+3 −3 clippy_lints/src/fallible_impl_from.rs
+2 −2 clippy_lints/src/format.rs
+4 −4 clippy_lints/src/functions.rs
+113 −0 clippy_lints/src/future_not_send.rs
+6 −6 clippy_lints/src/identity_conversion.rs
+2 −2 clippy_lints/src/implicit_return.rs
+173 −0 clippy_lints/src/implicit_saturating_sub.rs
+2 −2 clippy_lints/src/inherent_impl.rs
+2 −2 clippy_lints/src/inline_fn_without_body.rs
+2 −2 clippy_lints/src/int_plus_one.rs
+2 −2 clippy_lints/src/large_const_arrays.rs
+5 −5 clippy_lints/src/large_enum_variant.rs
+3 −3 clippy_lints/src/let_if_seq.rs
+8 −0 clippy_lints/src/lib.rs
+18 −18 clippy_lints/src/loops.rs
+5 −5 clippy_lints/src/map_unit_fn.rs
+8 −4 clippy_lints/src/matches.rs
+2 −2 clippy_lints/src/mem_discriminant.rs
+2 −2 clippy_lints/src/mem_replace.rs
+3 −3 clippy_lints/src/methods/inefficient_to_string.rs
+27 −9 clippy_lints/src/methods/mod.rs
+2 −2 clippy_lints/src/methods/option_map_unwrap_or.rs
+10 −10 clippy_lints/src/misc.rs
+5 −5 clippy_lints/src/misc_early.rs
+6 −6 clippy_lints/src/modulo_arithmetic.rs
+4 −4 clippy_lints/src/needless_borrow.rs
+2 −2 clippy_lints/src/needless_borrowed_ref.rs
+7 −7 clippy_lints/src/needless_pass_by_value.rs
+4 −4 clippy_lints/src/new_without_default.rs
+4 −4 clippy_lints/src/non_copy_const.rs
+25 −1 clippy_lints/src/precedence.rs
+10 −10 clippy_lints/src/ptr.rs
+5 −3 clippy_lints/src/question_mark.rs
+5 −5 clippy_lints/src/ranges.rs
+4 −4 clippy_lints/src/redundant_clone.rs
+25 −13 clippy_lints/src/redundant_pattern_matching.rs
+2 −2 clippy_lints/src/redundant_pub_crate.rs
+14 −8 clippy_lints/src/redundant_static_lifetimes.rs
+12 −12 clippy_lints/src/returns.rs
+10 −10 clippy_lints/src/shadow.rs
+2 −2 clippy_lints/src/slow_vector_initialization.rs
+6 −6 clippy_lints/src/swap.rs
+20 −20 clippy_lints/src/transmute.rs
+28 −22 clippy_lints/src/types.rs
+2 −2 clippy_lints/src/unwrap.rs
+5 −5 clippy_lints/src/utils/attrs.rs
+38 −35 clippy_lints/src/utils/diagnostics.rs
+3 −3 clippy_lints/src/utils/sugg.rs
+14 −0 src/lintlist/mod.rs
+149 −42 src/main.rs
+79 −0 tests/ui/future_not_send.rs
+125 −0 tests/ui/future_not_send.stderr
+160 −0 tests/ui/implicit_saturating_sub.fixed
+206 −0 tests/ui/implicit_saturating_sub.rs
+188 −0 tests/ui/implicit_saturating_sub.stderr
+33 −0 tests/ui/infallible_destructuring_match.fixed
+33 −0 tests/ui/infallible_destructuring_match.rs
+3 −3 tests/ui/infallible_destructuring_match.stderr
+1 −0 tests/ui/map_flatten.fixed
+1 −0 tests/ui/map_flatten.rs
+7 −1 tests/ui/map_flatten.stderr
+10 −0 tests/ui/match_single_binding.fixed
+10 −0 tests/ui/match_single_binding.rs
+11 −11 tests/ui/match_single_binding.stderr
+16 −0 tests/ui/precedence.fixed
+16 −0 tests/ui/precedence.rs
+12 −0 tests/ui/question_mark.fixed
+14 −0 tests/ui/question_mark.rs
+9 −1 tests/ui/question_mark.stderr
+42 −9 tests/ui/redundant_pattern_matching.fixed
+26 −1 tests/ui/redundant_pattern_matching.rs
+64 −32 tests/ui/redundant_pattern_matching.stderr
+12 −0 tests/ui/rest_pat_in_fully_bound_structs.rs
+3 −3 tests/ui/rest_pat_in_fully_bound_structs.stderr