about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-10-03Fix false-positive of redundant_clone and move to clippy::perfShotaro Yamada-1/+1
2019-10-02New lint: needless_doc_mainAndre Bogus-1/+8
2019-09-24Add a new lint for comparison chainsJames Wang-1/+8
2019-09-22Merge branch 'master' into unneeded_wildcard_patternMichael Wright-4/+19
2019-09-20new lint: mem-replace-with-uninitAndre Bogus-1/+8
2019-09-19Auto merge of #4539 - jolson88:cast-lossless-pedantic, r=flip1995bors-1/+1
Changes cast-lossless to a pedantic lint As discussed in #4528, this moves the cast-lossless lint from `all` to `pedantic`. I couldn't tell from description alone if it should also be removed from the complexity category, so I left it as part of complexity for now. I didn't see any impact to the tests from this change, but I could be wrong (as this is my first PR). fixes #4528 changelog: Moves cast-lossless from default to checking only as a `pedantic` lint.
2019-09-19New lint: Require `# Safety` section in pub unsafe fn docsAndre Bogus-1/+8
2019-09-16Changes to catch_fatal_errors in rustc driverJason Olson-1/+2
A [recent PR](https://github.com/rust-lang/rust/pull/60584/files#diff-707a0eda6b2f1a0537abc3d23133748cL1151) changed the function name from `report_ices_to_stderr_if_any` to `catch_fatal_errors`. This PR changes to using the new function name.
2019-09-15Changes cast-lossless to a pedantic lintJason Olson-1/+1
Fixes #4528
2019-09-12Add `unneeded-wildcard-pattern` lintMichael Wright-1/+8
2019-09-05Fix `redundant_pattern` false positiveYuki Okushi-1/+1
2019-09-04Auto merge of #4418 - euclio:byte-lit-suggestion, r=flip1995bors-1/+1
use a structured suggestion for char-lit-as-u8 changelog: use a structured suggestion for char-lit-as-u8
2019-09-04Run update_lintsflip1995-1/+1
2019-09-04Add manual_saturating_arithmetic lintShotaro Yamada-1/+8
2019-09-03lint against `MaybeUninit::uninit().assume_init()`Andre Bogus-1/+8
2019-08-23Run update_lints for Unicode lintLzu Tao-1/+1
2019-08-19Import rustc_plugin from its new locationSimon Sapin-7/+3
Depends on https://github.com/rust-lang/rust/pull/62727
2019-08-19Add option_and_then_some lintLzu Tao-1/+8
2019-08-18Auto merge of #4403 - xd009642:type_repetition_improvements, r=phansch,flip1995bors-1/+1
Improvements to `type_repetition_in_bounds` Improvements to the `type_repetition_in_bounds` trait based on feedback from #4380 #4326 #4323 Currently just make it pedantic. Hopefully, more to come changelog: move `type_repetition_in_bounds` to `pedantic`
2019-08-18Run update_lintsxd009642-1/+1
2019-08-18Change lint type to 'complexity'Jeremy Stucki-1/+1
2019-08-18Merge branch 'origin/master' into suspicious_mapJeremy Stucki-1/+1
2019-08-16Remove "a" from single_match_else descriptionKRAAI, MATTHEW [VISUS]-1/+1
2019-08-15Implement lint 'suspicious_map'Jeremy Stucki-1/+8
2019-08-14Deprecate unused_collect lintPhilipp Hansch-8/+1
I found this because we only had two test cases in total for this lint. It turns out the functionality is fully covered by rustc these days. [Playground Examples](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=eb8ee6db389c77180c9fb152d3c608f4) changelog: Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` cc #2846
2019-08-12Run 'update_lints'Jeremy Stucki-1/+1
2019-08-11Rename 'flat_map' → 'flat_map_identity'Jeremy Stucki-1/+1
2019-08-11Handle calls with 'std::convert::identity'Jeremy Stucki-1/+1
2019-08-11Merge branch 'origin/master' into flat-mapJeremy Stucki-18/+50
2019-08-11update_lintsRalf Jung-8/+1
2019-08-05Run update_lints and fmtflip1995-1/+1
2019-08-05Move expression check to LateLintPassVincent Dal Maso-0/+7
Changes: - Move from EarlyLintPass - Fix entrypoint check with function path def_id.
2019-08-01Move UNNECESSARY_UNWRAP to complexity and PANICKING_UNWRAP to correctnessflip1995-2/+2
2019-07-27Respond to review commentsxd009642-1/+8
Update README and CHANGELOG using the util scripts, refine the help message and fix the float_cmp error.
2019-07-19rustup https://github.com/rust-lang/rust/pull/62679/Matthias Krüger-2/+2
2019-07-17Fix "unkown clippy lint" error in UI test.Darth-Revan-2/+2
2019-07-17Implement lint for inherent to_string() method.Darth-Revan-1/+15
2019-07-15Auto merge of #4273 - mikerite:deny-warnings, r=flip1995bors-0/+3
Deny warnings in CI changelog: none
2019-07-15Deny warnings in CIMichael Wright-0/+3
2019-07-13Build sys_root in driver with PathBuf instead of Stringflip1995-6/+14
2019-07-08Implement flat_map lintJeremy Stucki-0/+7
2019-06-23PR commentsJoe Frikker-1/+1
2019-06-22Adding try_err lintJoe Frikker-1/+8
2019-06-15Downgrade integer_division to restrictionDavid Tolnay-1/+1
2019-06-14Use replace_region_in_file for creating the lint listflip1995-8/+17
2019-06-12minor fixJane Lusby-1/+1
2019-06-12make it pass dogfoodJane Lusby-26/+27
2019-06-12run rustfmtJane Lusby-2/+7
2019-06-12fix padding and put clippy someplacesJane Lusby-14/+8
2019-06-12show default lint levelsJane Lusby-25/+43