about summary refs log tree commit diff
path: root/clippy_lints/src/redundant_pattern_matching.rs
AgeCommit message (Collapse)AuthorLines
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+1
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-1/+1
2019-12-30Rustup to rust-lang/rust#66942Yuki Okushi-2/+2
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-8/+7
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-09-27Rustup to rust-lang/rust#64813flip1995-8/+8
2019-09-25redundant_pattern_matching: make rustfixableManish Goregaokar-3/+13
2019-09-25arm.pats -> arm.patManish Goregaokar-34/+32
2019-08-21Fix suggestions for redundant_pattern_matchingPhilipp Hansch-3/+3
Fixes the problem displayed in https://github.com/rust-lang/rust-clippy/issues/4344#issuecomment-519206388. We now append `{}` to the suggestion so that the conditional has the correct syntax again. (If we were to _remove_ the `if` instead, it would trigger the `unused_must_use` warning for `#[must_use]` types.
2019-07-03rustup https://github.com/rust-lang/rust/pull/61995Matthias Krüger-1/+1
2019-06-21update tests and fix lints in clippyDaniele D'Orazio-4/+0
2019-05-17Prevent symbocalypseOliver Scherer-11/+10
2019-05-14Use symbols instead of stringsOliver Scherer-10/+11
2019-04-17Use lint pass macrosMatthew Kraai-14/+3
Fixes #3917.
2019-03-05move lint documentation into macro invocationsAndy Russell-30/+30
2019-01-27rustup https://github.com/rust-lang/rust/pull/57907/Matthias Krüger-2/+2
for file in `fd \.rs$` ; do sed -i s/span_suggestion_with_applicability/span_suggestion/g $file ; done for file in `fd \.rs$` ; do sed -i s/span_suggestion_short_with_applicability/span_suggestion_short/g $file ; done for file in `fd \.rs$` ; do sed -i s/span_suggestions_with_applicability/span_suggestions/g $file ; done
2019-01-27rustup https://github.com/rust-lang/rust/pull/57726Matthias Krüger-0/+4
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-29Remove crate:: prefixes from crate pathsKonrad Borowski-6/+6
This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix.
2018-11-27Run rustfmt on clippy_lintsflip1995-34/+17
2018-11-17remove unused allow() attributes, NFCMatthias Krüger-1/+0
2018-11-02clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase.Matthias Krüger-10/+10
Turn on pedantic lints in dogfood and base tests. needless_bool: fix clippy::items-after-statements redundant_pattern_matching: fix clippy::similar-names mods.rs: fix clippy::explicit-iter-loop returns.rs: allow clippy::cast-possible-wrap Fixes #3172
2018-10-17Rename if_let_redundant_pattern_matching to redundant_pattern_matchingCYBAI-0/+228
Also, making the old one deprecated