diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-10-25 14:31:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-25 14:31:05 +0200 |
| commit | c4e51a2c5240073677e00d6f5c7340221d5acfc3 (patch) | |
| tree | 01a0606bd3621594315b89bbbcec6a7c31167656 | |
| parent | 49eb443b3b88a766b6a7f0997bd6b509e985b64d (diff) | |
| parent | 9378705f8232536cf12f8b38cea8757599d65cc1 (diff) | |
| download | rust-c4e51a2c5240073677e00d6f5c7340221d5acfc3.tar.gz rust-c4e51a2c5240073677e00d6f5c7340221d5acfc3.zip | |
Rollup merge of #55245 - matthiaskrgr:clippy, r=nikomatsakis
submodules: update clippy from 5afdf8b7 to b1d03437 Just a routine update. 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 ````
| -rw-r--r-- | src/Cargo.lock | 1 | ||||
| m--------- | src/tools/clippy | 28 |
2 files changed, 15 insertions, 14 deletions
diff --git a/src/Cargo.lock b/src/Cargo.lock index 3361e81ecfe..dd211083527 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -349,6 +349,7 @@ dependencies = [ "itertools 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "walkdir 2.2.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/src/tools/clippy b/src/tools/clippy -Subproject 5afdf8b78507ddf015d192858aef56e72c17de1 +Subproject b1d0343749bdc87e5cbbe7f1aeaa9d2a2c9dbc5 |
