about summary refs log tree commit diff
path: root/clippy_lints/src/if_not_else.rs
AgeCommit message (Expand)AuthorLines
2025-02-03Simplify `reindent_multiline()` signatureSamuel Tardieu-3/+2
2024-12-11suggest modified code for if_not_else lintlapla-cogito-3/+51
2024-08-17Remove redundant doc commentsAlex Macleod-3/+0
2024-08-08Require `ConstEvalCtxt` to be constructed.Jason Newcomb-2/+2
2024-07-07Refactor `if_not_else`:Jason Newcomb-37/+26
2023-11-25Use absolute path for `declare_tool_lint` in `declare_clippy_lint`Alex Macleod-1/+1
2023-10-23Set existing doc-tests to `no_run`Alex Macleod-2/+2
2023-06-25Skip if_not_else lint for '!= 0'-style checksBen Wiederhake-1/+11
2021-11-10Added `clippy::version` attribute to all normal lintsxFrednet-0/+1
2021-10-29Disable "if_not_else" lints firing on else-ifsAhmed Karaman-8/+15
2021-08-07Use `EarlyContext::sess` instead of `LintContext::sess()`LeSeulArtichaut-2/+2
2021-07-28Update lint documentation to use markdown headlinesxFrednet-5/+5
2021-03-15Don't re-export clippy_utils::diagnostics::*Cameron Steffen-2/+1
2020-08-11if_not_else: make lint adhere to lint message conventionMatthias Krüger-2/+2
2020-04-18Add an Option<Span> argument to span_lint_and_help.xiongmao86-0/+2
2020-03-30rustup https://github.com/rust-lang/rust/pull/70536Matthias Krüger-1/+1
2020-03-01Rustup to rust-lang/rust#69592Yuki Okushi-1/+1
2020-02-21Fix falloutflip1995-1/+1
2020-01-27Rename `span_help_and_lint` to `span_lint_and_help`Yuki Okushi-3/+3
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+2
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-07Normalize lint messagesYuki Okushi-2/+2
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-09-27Rustup to rust-lang/rust#64813flip1995-3/+3
2019-08-03Doctests: Enable running doc tests for pedantic lintsPhilipp Hansch-0/+6
2019-04-17Use lint pass macrosMatthew Kraai-12/+2
2019-03-05move lint documentation into macro invocationsAndy Russell-25/+25
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
2018-12-29Remove crate:: prefixes from crate pathsKonrad Borowski-3/+3
2018-11-27Run rustfmt on clippy_lintsflip1995-2/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-3/+3
2018-08-29Switch to declare_tool_lint macroflip1995-1/+1
2018-08-28Update imports and rustupOliver Schneider-1/+1
2018-07-24Inline utils::in_external_macroDale Wijnand-2/+2
2018-07-23RustupOliver Schneider-1/+1
2018-07-19Remove import of rustcManish Goregaokar-0/+1
2018-05-30Run rustfixMateusz Mikuła-1/+1
2018-03-28Categorize all the lints!Oliver Schneider-2/+2
2017-11-05Cargo fmttopecongiro-1/+1
2017-10-27Fix dogfoodOliver Schneider-1/+4
2017-08-14RustfmtOliver Schneider-11/+16
2016-12-20also run rustfmt on clippy-lintsOliver Schneider-2/+2
2016-08-07Make lint descriptions short and to the point; always fitting the column "tri...Georg Brandl-2/+3
2016-08-07Make the lint docstrings more consistent.Georg Brandl-3/+4
2016-07-16Improve docsmcarton-1/+18
2016-05-27split clippy into lints, plugin and cargo-clippyOliver Schneider-0/+52