about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-10-21 17:53:12 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-10-21 17:56:00 +0200
commit9378705f8232536cf12f8b38cea8757599d65cc1 (patch)
tree4d0c1310a035f1159bda52a9d9390aefd561bbe4
parent31b97f789f4809d0bff76e931a5dfd4fece079da (diff)
downloadrust-9378705f8232536cf12f8b38cea8757599d65cc1.tar.gz
rust-9378705f8232536cf12f8b38cea8757599d65cc1.zip
submodules: update clippy from 5afdf8b7 to b1d03437
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.lock1
m---------src/tools/clippy28
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