about summary refs log tree commit diff
path: root/clippy_lints/src/precedence.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-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+1
Specifically caused by https://github.com/rust-lang/rust/pull/67786
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-07Rustup to rust-lang/rust#65884flip1995-1/+1
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+2
`must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation.
2019-09-27Rustup to rust-lang/rust#64813flip1995-6/+6
2019-08-19Remove in_macro_or_desugarKRAAI, MATTHEW [VISUS]-2/+2
2019-05-11Rename in_macro to in_macro_or_desugarManish Goregaokar-2/+2
2019-04-17Use lint pass macrosMatthew Kraai-13/+2
Fixes #3917.
2019-03-05move lint documentation into macro invocationsAndy Russell-17/+17
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-7/+7
This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix.
2018-11-27Run rustfmt on clippy_lintsflip1995-2/+4
2018-11-27Add applicability level to (nearly) every span_lint_and_sugg functionflip1995-14/+16
2018-11-27Add Applicability::Unspecified to span_lint_and_sugg functionsflip1995-0/+3
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-6/+6
2018-08-29Switch to declare_tool_lint macroflip1995-1/+1
2018-08-28Update imports and rustupOliver Schneider-1/+1
2018-08-19codemap -> source_mapManish Goregaokar-1/+1
https://github.com/rust-lang/rust/pull/52953
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
2018-01-16Add macro check to precedence lintflip1995-1/+5
2017-09-05Run nightly rustfmtOliver Schneider-4/+2
2017-08-14RustfmtOliver Schneider-27/+39
2017-07-10Rustup to *rustc 1.20.0-nightly (d84693b93 2017-07-09)*Oliver Schneider-1/+1
2017-06-29Run rustfmtOliver Schneider-5/+8
2017-06-22Use span_lint_and_suggSeo Sanghyeon-10/+6
2017-01-22Use `span_suggestion` in the `precedence` lintmcarton-26/+27
2016-12-20also run rustfmt on clippy-lintsOliver Schneider-4/+4
2016-08-07Make lint descriptions short and to the point; always fitting the column ↵Georg Brandl-2/+3
"triggers on".
2016-08-07Make the lint docstrings more consistent.Georg Brandl-6/+7
2016-07-16Improve docsmcarton-5/+7
2016-05-27split clippy into lints, plugin and cargo-clippyOliver Schneider-0/+118