summary refs log tree commit diff
path: root/src/tools/clippy
AgeCommit message (Collapse)AuthorLines
2018-11-22Update clippy submoduleOliver Scherer-5/+5
2018-11-20Update clippy module to fix breakageAlex Crichton-19/+5
2018-10-21submodules: update clippy from 5afdf8b7 to b1d03437Matthias Krüger-14/+14
Changes: ```` new_ret_no_self: add sample from #3313 to Known Problems section. Support multiline comments and hopefully fix panic Check for comments in collapsible ifs Resolve ICE in needless range loop lint RIIR update_lints: Update changelog links Rename if_let_redundant_pattern_matching to redundant_pattern_matching Add lint for redundant pattern matching for explicit return boolean Fix issue #3322: reword help message for len_zero Simplify manual_memcpy suggestion in some cases Fix dogfood Update known problems for unnecessary_fold RIIR update_lints: Replace lint count in README.md Rename `active_lints` to `usable_lints` Add comment on WalkDir vs. fs::read_dir sort_by -> sort_by_key Some more documentation for clippy_dev Use `WalkDir` to also gather from subdirectories Avoid linting `boxed_local` on trait implementations. Website: Make lint categories linkable Restore clippy_dummy's placeholder name Swap order of methods in `needless_range_loop` suggestion in some cases Revert "Exclude pattern guards from unnecessary_fold lint" Exclude pattern guards from unnecessary_fold lint ````
2018-10-15submodules: update clippy from 9d337313 to 5afdf8b7Matthias Krüger-5/+19
Changes: ```` fix for rustc master mem_forget: fix syntax error in code sample explicit_counter_loop fix #3308 false positive new_ret_no_self test remove tool lints cfg flag Added new_ret_no_self exception to clippy to pass dogfood tests Removed new_ret_no_self tests from method.rs new_ret_no_self correctly lint impl return Removed unused variables new_ret_no_self fix false positive for impl trait return with associated type self new_ret_no_self corrected panic and added test stderr new_ret_no_self added positive test cases Fix some more `stutter` warnings unused unit lint Install Windows SDK 10.0 on travis cmp_owned refactor cmp_owned correct error message if rhs is deref Add a comment reminding to update README if the default changes Specify which categories are enabled by default Only run markdown linter on linux Move Travis Windows build to allowed failures Add Travis windows build Fix `doc_markdown` lints Fix `stutter` lints Fix `similar_names` warnings cmp_owned current suggestion for multiple deref cmp_owned add test for multiple dereference Corrected single-character string constant used as pattern found in dogfood test Fixes 3289, cmp_owned wording and false positive ````
2018-10-13submodules: update clippy from 32b1d1fc to 9d337313Matthias Krüger-19/+5
Changes: Remove now-useless `allow(unknown_lints)` Stabilize tool lints Use `impl Iterator` in arg position in clippy_dev Fix fn_to_numeric_cast_with_truncation suppression Limit commutative assign op lint to primitive types Clarify code Fix #2937 Fix cast_possible_wrap and cast_sign_loss warnings Fix cast_possible_truncation warnings Fixes #2925 cmp_owned false positive if_let_redundant_pattern_matching: use Span.to() instead of Span.with_hi() to fix crash. Improve diagnostics in case of lifetime elision (closes #3284) Fix items_after_statements for `const`s Fix items_after_statements for sub-functions Fix items_after_statements for `use` statements Don't suggest cloned() for map Box deref Fix excessive_precision false positive Fix FP in `fn_to_numeric_cast_with_truncation` new_without_default should not warn about unsafe new fix command to manually test an example Add license to README Adding more detail to filter_map lint documentation. additional people Add license header to other files Add license header to Rust files Relicense clippy Document relicensing process Fix util/export.py to include lints from methods
2018-10-06submodules: update clippy to 32b1d1fc157f71ed2f10b60fe28abe087a743618 to fix ↵Matthias Krüger-14/+14
tests.
2018-10-03Update clippyManish Goregaokar-14/+14
2018-10-02Update clippyManish Goregaokar-14/+14
2018-09-26update clippy submodule to a72e786cMatthias Krüger-14/+14
Fixes clippy build.
2018-09-17Update Clippyflip1995-14/+14
2018-09-15Update submodules to include rust-lang-nursery/rust-clippy#3189 and ↵Eduard-Mihai Burtescu-14/+14
rust-lang-nursery/rls#1054.
2018-09-14Update Clippyflip1995-14/+14
2018-09-09submodules: update clippy, rls with crate visibility patches, also update cargoMatthias Krüger-14/+14
2018-09-07update clippy submoduleMatthias Krüger-14/+14
updates to cafef7b576203f166add9ed143979d9775c25219
2018-09-02Update clippyManish Goregaokar-5/+19
2018-08-31Add deprecated_name argument to the register lint group functionsflip1995-5/+5
2018-08-29Update clippy submoduleOliver Schneider-19/+5
2018-08-27Update clippyJohn Kåre Alsaker-14/+14
2018-08-23Update clippy againflip1995-14/+14
2018-08-23Update clippyflip1995-14/+14
2018-08-19Update clippyManish Goregaokar-5/+19
2018-08-14Update clippyManish Goregaokar-5/+5
2018-08-08Update clippy submoduleOliver Schneider-5/+5
2018-08-08Update RLS and RustfmtNick Cameron-19/+5
2018-08-05Update rustfmt and RLSNick Cameron-14/+14
2018-08-03Update clippyManish Goregaokar-5/+19
2018-08-02Update Cargo submoduleAlex Crichton-19/+5
Bring in some fixes for `cargo fix` notably
2018-07-26Update clippy to latest masterThomas Gideon-5/+19
2018-07-23Update the clippy submoduleOliver Schneider-5/+5
2018-07-21Don't invent new magic keywordsOliver Schneider-5/+5
2018-07-20Clippy opts out of in_external_macroOliver Schneider-6/+5
2018-07-20Update clippyManish Goregaokar-5/+6
2018-07-18Update clippyManish Goregaokar-8/+5
2018-07-16Update clippyManish Goregaokar-5/+8
Fixes test failures caused by https://github.com/rust-lang/rust/pull/52081
2018-07-16Update the clippy submoduleOliver Schneider-5/+5
2018-07-15Update clippy and rlsOliver Schneider-19/+5
2018-07-06Update RLS, Rustfmt, Cargo, and ClippyNick Cameron-5/+19
2018-07-05Update the clippy submoduleOliver Schneider-4/+4
2018-07-02Update the clippy submoduleOliver Schneider-5/+5
2018-07-02Make sure clippy does not duplicate depenenciesOliver Schneider-5/+5
2018-07-01Update clippy submoduleOliver Schneider-5/+5
2018-07-01Did you mean to block nightlies on clippy?Oliver Schneider-4/+4
2018-05-19Update clippyOliver Schneider-21/+4
2018-05-14Bump clippyOliver Schneider-16/+19
2018-05-11Update the clippy and miri submodulesOliver Schneider-19/+16
2018-05-07Update clippy 0.0.197Alex Butler-16/+19
2018-04-28Update clippy submodulePhilipp Hansch-18/+16
2018-04-19Update clippyOliver Schneider-16/+18
2018-04-11Update clippy and rlsOliver Schneider-14/+14
2018-03-30Update clippyManish Goregaokar-5/+19