about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-09-26Add regression test for macro expansionLzu Tao-0/+2
2019-09-25Auto merge of #4575 - Manishearth:suggestions, r=oli-obkbors-816/+1464
Make more tests rustfixable Fixes https://github.com/rust-lang/rust-clippy/issues/3630 changelog: Improve suggestions for many lints in preparation for `cargo fix --clippy` r? @phansch @yaahc
2019-09-25Downgrade op_ref to a MaybeIncorrect suggestionManish Goregaokar-2/+2
2019-09-25unnecessary_operation: make test rustfixableManish Goregaokar-27/+112
2019-09-25unnecessary_clone: split rustfixable lint out into separate testManish Goregaokar-47/+77
2019-09-25string_add, string_add_assign: split tests, make one rustfixableManish Goregaokar-111/+115
2019-09-25redundant_static_lifetimes: split test, make rustfixableManish Goregaokar-90/+148
2019-09-25renamed_builtin_attr: make test rustfixableManish Goregaokar-1/+7
2019-09-25redundant_pattern_matching: make rustfixableManish Goregaokar-34/+97
2019-09-25redundant_closure_call: split tests into fixableManish Goregaokar-17/+35
2019-09-25map_unit_fn: make test rustfixableManish Goregaokar-34/+197
2019-09-25map_unit_fn: fix applicabilityManish Goregaokar-12/+12
2019-09-25option_map_unit_fn: Split into fixable/unfixableManish Goregaokar-174/+137
2019-09-25map_unit_fn: rename tests to fixableManish Goregaokar-48/+48
2019-09-25non_copy_const: remove incorrect suggestionManish Goregaokar-53/+23
2019-09-25needless_return: add allow()s to test, make rustfixableManish Goregaokar-12/+94
2019-09-25needless_collect: fix suggestion, make test rustfixableManish Goregaokar-7/+37
2019-09-25needless_borrowed_ref: fix false positive, make rustfixableManish Goregaokar-24/+62
2019-09-25needless_borrow: allow other lints, make fixableManish Goregaokar-20/+70
2019-09-25mem_discriminant: split test, make rustfixableManish Goregaokar-32/+99
2019-09-25map_flatten: make it a rustfix testManish Goregaokar-1/+11
2019-09-25Leave note on non-rustfixable testsManish Goregaokar-42/+46
2019-09-25Remove large-digit-groups test from literals.rsManish Goregaokar-20/+11
2019-09-25map_entry test: Fix semicolon, add run-rustfixManish Goregaokar-67/+34
2019-09-25Split map_entry tests into fixable and unfixableManish Goregaokar-62/+49
2019-09-25Auto merge of #4574 - Manishearth:rustup, r=yaahc,centrilbors-175/+147
Rustup to rustc 1.39.0-nightly (acf7b50c7 2019-09-25) changelog: none fixes https://github.com/rust-lang/rust/issues/64777 r? @phansch @yaahc
2019-09-25Remove suggestion for complex map_entry casesManish Goregaokar-15/+77
2019-09-25allow osx failuresManish Goregaokar-0/+2
2019-09-25ignore single-match for or patternsManish Goregaokar-0/+5
2019-09-25arm.pats -> arm.patManish Goregaokar-172/+137
2019-09-25Rustup to rustc 1.39.0-nightly (acf7b50c7 2019-09-25)Manish Goregaokar-3/+3
- Addresses inference error - Updates compiletest
2019-09-25Refactor `booleans`Michael Wright-8/+11
Inline `snip (..)` function
2019-09-24Update refactor according to code reviewJames Wang-9/+4
2019-09-24Fix example in docsJames Wang-1/+1
2019-09-24Add a new lint for comparison chainsJames Wang-109/+369
2019-09-24Fix `nonminimal-bool` false positiveMichael Wright-55/+99
Closes #4548 Closes #3847
2019-09-23Auto merge of #4567 - phansch:toplevel_ref_arg, r=flip1995bors-20/+56
Add run-rustfix for toplevel_ref_arg lint changelog: none cc #3630
2019-09-23Add run-rustfix for toplevel_ref_arg lintPhilipp Hansch-20/+56
2019-09-23Auto merge of #4561 - rust-lang:let-return-fix, r=phanschbors-0/+2
Fix let_and_return lint This fixes #4555 (false positive for the `let_and_return` lint). changelog: none
2019-09-23Fix let_and_return lintAndre Bogus-0/+2
2019-09-23Auto merge of #4566 - phansch:update_changelog2, r=flip1995bors-4/+32
Update the changelog for Rust 1.38 [Rendered](https://github.com/phansch/rust-clippy/blob/update_changelog2/CHANGELOG.md#rust-138) changelog: none
2019-09-23Auto merge of #4537 - mikerite:unneeded_wildcard_pattern, r=phanschbors-6/+290
Add `unneeded-wildcard-pattern` lint changelog: Add `unneeded-wildcard-pattern` lint
2019-09-23Merge branch 'master' into unneeded_wildcard_patternMichael Wright-2/+10
2019-09-22Update the changelog for Rust 1.38Philipp Hansch-4/+32
2019-09-22Auto merge of #4518 - imp:4517_license-file, r=phanschbors-2/+8
clippy::cargo_common_metadata: check for license-file When license property is missing in Cargo.toml check for license-file as it may be used instead of the former. The check implemented here is very naive as it only verifies that the field is present and is not empty. More scrutiny can be applied by verifying the file is actually present. Fixes #4517 changelog: clippy::cargo_common_metadata now checks for license-file when license is missing
2019-09-22Auto merge of #4565 - matthiaskrgr:rustup_16, r=phanschbors-0/+2
rustup https://github.com/rust-lang/rust/pull/64666 changelog: none
2019-09-22rustup https://github.com/rust-lang/rust/pull/64666Matthias Krüger-0/+2
2019-09-22clippy::cargo_common_metadata: check for license-fileCyril Plisko-2/+8
When license property is missing in Cargo.toml check for license-file as it may be used instead of the former. The check implemented here is very naive as it only verifies that the field is present and is not empty. More scrutiny can be applied by verifying the file is actually present. Fixes #4517
2019-09-22Add additional tests to unneeded_wildcard_patternMichael Wright-9/+41
2019-09-22Merge branch 'master' into unneeded_wildcard_patternMichael Wright-389/+1246