about summary refs log tree commit diff
path: root/clippy_utils/src/numeric_literal.rs
AgeCommit message (Collapse)AuthorLines
2025-01-19Apply `unnecessary_semicolon` to Clippy sourcesSamuel Tardieu-1/+1
2024-11-12new lint `unnecessary_map_or`Jacherr-1/+1
2024-07-15fix [`excessive_precision`] suggestions on float literal written in ↵apoisternex-0/+2
scientific notation fixes: #12954 changelog: fix [`excessive_precision`] suggestions on float literal written in scientific notation
2023-06-09handle exponent without digitsy21-1/+1
2023-02-16Fix dogfood tests by adding type annotationsJirka Vebr-1/+1
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-5/+1
Instead of `ast::Lit`. Literal lowering now happens at two different times. Expression literals are lowered when HIR is crated. Attribute literals are lowered during parsing. This commit changes the language very slightly. Some programs that used to not compile now will compile. This is because some invalid literals that are removed by `cfg` or attribute macros will no longer trigger errors. See this comment for more details: https://github.com/rust-lang/rust/pull/102944#issuecomment-1277476773
2022-10-23Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyupflip1995-3/+4
2022-08-11Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyupPhilipp Krones-4/+6
2022-05-21Merge 'rust-clippy/master' into clippyupxFrednet-1/+1
2022-05-05Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyupflip1995-1/+1
2022-01-27Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyupflip1995-1/+8
2021-10-07Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyupflip1995-3/+12
2021-07-15Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyupflip1995-0/+3
2021-06-03Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyupflip1995-1/+1
2021-03-26Use iter::zip in src/tools/clippy/Josh Stone-1/+2
2021-02-25Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyupflip1995-0/+228