about summary refs log tree commit diff
path: root/clippy_lints/src/large_enum_variant.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-22Add <'_> where necessaryflip1995-1/+1
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+1
`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-1/+1
2019-08-15Rustup to rust-lang/rust#63543flip1995-1/+1
2019-07-06Rename hir::map::local_def_id_from_hir_id to local_def_idLzu Tao-1/+1
2019-04-17Use lint pass macrosMatthew Kraai-10/+2
Fixes #3917.
2019-03-05move lint documentation into macro invocationsAndy Russell-16/+16
2019-03-01align with rust-lang/rust/#58836ljedrz-1/+1
2019-02-03Fix breakage due to rust-lang/rust#58079Michael Wright-2/+2
The rustc change added HirId to a few nodes. As I understand it, the plan is to remove the NodeId from these nodes eventually. Where the NodeId was not being matched, I used `..` to try and avoid further breakage. Where it was, I used `_` to make the fix easier when NodeId is removed.
2019-01-27rustup https://github.com/rust-lang/rust/pull/57907/Matthias Krüger-1/+1
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-5/+5
This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix.
2018-12-08rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() )Matthias Krüger-1/+1
2018-11-27Run rustfmt on clippy_lintsflip1995-8/+6
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-20Another Applicability adjustmentflip1995-1/+1
2018-09-20Applicability adjustment per additional commentsVitaly _Vi Shukela-1/+1
2018-09-20Fill in Applicability from review comments by @flip1995Vitaly _Vi Shukela-1/+1
2018-09-20Use span_suggestion_with_applicability instead of span_suggestionVitaly _Vi Shukela-1/+3
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-4/+4
2018-08-29Switch to declare_tool_lint macroflip1995-1/+1
2018-08-28Update imports and rustupOliver Schneider-1/+1
2018-07-23RustupOliver Schneider-1/+1
2018-07-19Remove import of rustcManish Goregaokar-0/+1
2018-07-16Update for hir renamings in rustcOliver Schneider-1/+1
2018-05-30Run rustfixMateusz Mikuła-1/+1
2018-03-28Categorize all the lints!Oliver Schneider-2/+2
2018-03-16Apply clippy suggestionsMateusz Mikuła-1/+1
Signed-off-by: Mateusz Mikuła <mati865@gmail.com>
2018-02-09Remove rarely used `type_size` helper functionOliver Schneider-8/+6
2017-09-05Run nightly rustfmtOliver Schneider-9/+10
2017-08-21Run Dogfood for `use_self`Oliver Schneider-1/+1
2017-08-14RustfmtOliver Schneider-26/+38
2017-04-27Update to latest rustc versionOliver Schneider-2/+2
2017-03-02Fix invalid_upcast_comparisons lint for same size sign castsOliver Schneider-23/+15
2017-02-10rustfmtOwen Sanchez-1/+3
2017-02-10Search directly for the largest and smallest variants instead of sortingOwen Sanchez-12/+17
2017-02-10Change large_enum_variant to lint against size differences rather than sizeOwen Sanchez-38/+52
2017-02-10Add some writes to a log file for debuggingOwen Sanchez-0/+8
2017-02-03TyCtxt::map is now called TyCtxt::hirMrmaxmeier-1/+1
2017-01-31rustfmtOliver Schneider-9/+6
2017-01-31improve messages and add suggestionsOliver Schneider-5/+25
2017-01-30large_enum_variants lint suggests to box variants above a configurable limitOliver Schneider-0/+81