about summary refs log tree commit diff
path: root/clippy_lints/src/checked_conversions.rs
AgeCommit message (Collapse)AuthorLines
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+2
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-15/+15
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-11/+11
2019-08-03Doctests: Enable running doc tests for pedantic lintsPhilipp Hansch-0/+2
2019-07-31Update all the code to pass the updated `use_self` lint.Jakub Wieczorek-3/+3
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-05-18Removed symbols again.pJunger-39/+26
2019-05-18Removed unused lifetime.pJunger-1/+1
2019-05-18Changed impl to use symbols.pJunger-31/+45
2019-05-18Added suggestion for conversion with is_ok.pJunger-12/+22
2019-05-18Fixed more lint findings.pJunger-4/+2
2019-05-18Fixed clippy lints in checked_conversions.rs.pJunger-3/+3
2019-05-18Added lint for TryFrom for checked integer conversion rust-lang#3947.pJunger-0/+332