about summary refs log tree commit diff
path: root/clippy_lints/src/excessive_precision.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-31Rustup to rust-lang/rust#67707Yuki Okushi-1/+1
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-1/+1
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-13literal representation restructure 12Michael Wright-2/+2
Export function for formatting literals and remove crate visibility from other items.
2019-11-13literal representation restructure 11Michael Wright-1/+1
Rename `grouping_hint` to `format` and use the term consistently.
2019-11-13literal representation restructure 10Michael Wright-2/+2
Rename DigitInfo to NumericLiteral
2019-11-13literal representation restructure 9Michael Wright-1/+1
Only store valid suffixes (and not mistyped suffixes) in DigitInfo. Check for mistyped suffixes later and not when DigitInfo is created. This opens the door to more sophisticated mistyped suffix checks later.
2019-11-07Rustup to rust-lang/rust#65884flip1995-1/+1
2019-10-15Add a new lint for unused selfJames Wang-2/+2
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+5
`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-09-26Rustup https://github.com/rust-lang/rust/pull/64513Lzu Tao-1/+1
2019-09-04Refactor option handlingJeremy Stucki-4/+2
2019-07-31Update all the code to pass the updated `use_self` lint.Jakub Wieczorek-6/+6
One struct required a temporary `#[allow(dead_code)]` annotation due to a bug in the Rust compiler: https://github.com/rust-lang/rust/issues/63151.
2019-04-17Use lint pass macrosMatthew Kraai-13/+3
Fixes #3917.
2019-03-05move lint documentation into macro invocationsAndy Russell-18/+18
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-12-07Remove allow(doc_markdown) in excessive_precision.rsPhilipp Hansch-3/+2
2018-12-05Fix TyKind::<kind> usage in codebaseflip1995-2/+2
2018-11-27Run rustfmt on clippy_lintsflip1995-10/+9
2018-11-27Add applicability level to (nearly) every span_lint_and_sugg functionflip1995-1/+1
2018-11-27Add Applicability::Unspecified to span_lint_and_sugg functionsflip1995-4/+6
2018-10-11Fix `doc_markdown` lintsDevon Hollowood-0/+1
2018-10-07Fix excessive_precision false positiveJosh Mcguigan-3/+3
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-29Fixes #3180, suppress excessive_precision lint for floats with no decimal partJosh Mcguigan-2/+4
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-22rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581Matthias Krüger-2/+2
2018-07-25fix a bunch of typos found by codespellMatthias Krüger-1/+1
2018-07-20Remove import of if_chainManish Goregaokar-0/+1
2018-07-19Remove import of rustcManish Goregaokar-0/+1
2018-07-16ExprKindcsmoe-1/+1
2018-06-26Removed placeholder doc-commentsAlex Vermillion-2/+0
There were comments instructing someone to insert an example, but an example was already present
2018-06-15Dogfood new trivially_copy_pass_by_ref lintWim Looman-5/+5
2018-05-30Run rustfixMateusz Mikuła-1/+1
2018-05-05Fix 1x..x.0 false positive, pretty suggestionEvan Simmons-3/+26
2018-04-24New excessive precision lint for floatsEvan Simmons-0/+141