Skip to content

Commit

Permalink
submodules: update clippy from 8b7f7e6 to 329923e
Browse files Browse the repository at this point in the history
Changes:
````
Apply suggestions from code review
Simplify if_chain.
Move NumericLiteral to its own module.
Included binary and octal cases.
Resolve false positives for hex int cast.
Test for unnecessary_cast of hex int literal.
run-rustfix
Lint `if let Some` in question_mark lint
Add restrictive pat use in full binded struct
Update test case answers to match cargo dev fmt
Ran cargo dev fmt
Rustup to rust-lang#69506
Recommended changes from flip1995
Revive rls integration test
use question mark operator
Add regression test
Use `try_eval_usize` over `eval_usize`
Add path for display trait
Use lang items instead of get_trait_def_id where possible
Update stderr
Don't lint debug formatting in debug impl
Whitelist unused attribute for use items.
Fix one last test issue
Refactor suggested by krishna-veerareddy
Fixed compile error from merging
Changed test output to reflect cargo fmt
Run cargo dev fmt
Finished checking for cases of absolute values
add test for rust-lang#5238
Some bugfixing
Created floating point abs lint and test, but not yet run
````
  • Loading branch information
matthiaskrgr committed Mar 4, 2020
1 parent 2b0cfa5 commit c3bceb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/clippy
Submodule clippy updated 43 files
+1 −2 .github/workflows/clippy_bors.yml
+1 −0 CHANGELOG.md
+1 −1 README.md
+1 −0 clippy_lints/src/attrs.rs
+1 −1 clippy_lints/src/consts.rs
+2 −2 clippy_lints/src/doc.rs
+3 −4 clippy_lints/src/float_literal.rs
+127 −4 clippy_lints/src/floating_point_arithmetic.rs
+5 −1 clippy_lints/src/indexing_slicing.rs
+1 −2 clippy_lints/src/inherent_to_string.rs
+3 −1 clippy_lints/src/lib.rs
+6 −220 clippy_lints/src/literal_representation.rs
+56 −3 clippy_lints/src/matches.rs
+7 −1 clippy_lints/src/methods/mod.rs
+1 −1 clippy_lints/src/neg_cmp_op_on_partial_ord.rs
+52 −12 clippy_lints/src/question_mark.rs
+23 −25 clippy_lints/src/types.rs
+1 −0 clippy_lints/src/utils/mod.rs
+227 −0 clippy_lints/src/utils/numeric_literal.rs
+1 −2 clippy_lints/src/utils/paths.rs
+0 −2 clippy_lints/src/utils/sugg.rs
+156 −120 clippy_lints/src/write.rs
+8 −1 src/lintlist/mod.rs
+1 −1 tests/ui/author/blocks.rs
+1 −4 tests/ui/author/blocks.stdout
+18 −0 tests/ui/crashes/ice-5223.rs
+9 −0 tests/ui/crashes/ice-5238.rs
+98 −0 tests/ui/floating_point_abs.fixed
+126 −0 tests/ui/floating_point_abs.rs
+80 −0 tests/ui/floating_point_abs.stderr
+1 −7 tests/ui/print.stderr
+113 −0 tests/ui/question_mark.fixed
+30 −0 tests/ui/question_mark.rs
+48 −15 tests/ui/question_mark.stderr
+30 −0 tests/ui/rest_pat_in_fully_bound_structs.rs
+27 −0 tests/ui/rest_pat_in_fully_bound_structs.stderr
+1 −1 tests/ui/swap.fixed
+1 −1 tests/ui/swap.rs
+6 −0 tests/ui/unnecessary_cast_fixable.fixed
+6 −0 tests/ui/unnecessary_cast_fixable.rs
+4 −0 tests/ui/useless_attribute.fixed
+4 −0 tests/ui/useless_attribute.rs
+1 −1 tests/ui/useless_attribute.stderr

0 comments on commit c3bceb1

Please sign in to comment.