about summary refs log tree commit diff
path: root/clippy_lints/src/casts
AgeCommit message (Expand)AuthorLines
2024-08-03Migrating restriction lints to `span_lint_and_then` (e -> i)xFrednet-17/+20
2024-07-24Auto merge of #13146 - Alexendoo:cast-lossless-128, r=y21bors-82/+65
2024-07-24Lint casts to `u128` in `cast_lossless`Alex Macleod-82/+65
2024-07-23Don't suggest `.cast_mut`/`.cast_const` for types with erased lifetimesAlex Macleod-1/+2
2024-07-17Refactor for using config values:Jason Newcomb-3/+5
2024-07-12Fix syntax errors in example codeFlorian Bartels-2/+2
2024-07-10Auto merge of #12984 - bitfield:fix_doc_nits_c, r=Alexendoobors-56/+59
2024-07-08resolve code review commentsJohn Arundel-1/+1
2024-07-07resolve code review commentsJohn Arundel-1/+1
2024-07-07resolve code review commentsJohn Arundel-7/+7
2024-06-27Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-2/+2
2024-06-23Fix doc nitsJohn Arundel-55/+58
2024-06-19Resolve Clippy `f16` and `f128` `unimplemented!`/`FIXME`sTrevor Gross-0/+1
2024-06-16`expr_use_ctxt` changes:Jason Newcomb-2/+2
2024-06-13Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-u...Philipp Krones-5/+5
2024-06-07Auto merge of #12822 - Alexendoo:for-each-expr, r=dswijbors-5/+5
2024-05-30Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into clippy-subtree-u...Philipp Krones-3/+3
2024-05-23For restriction lints, replace “Why is this bad?” with “Why restrict th...Kevin Reid-3/+3
2024-05-19Swap `for_each_expr` and `for_each_expr_with_closures`Alex Macleod-5/+5
2024-05-06Update doc comments to avoid lazy continuationsMichael Howell-0/+4
2024-04-29Update version attribute for 1.78 lintsxFrednet-1/+1
2024-04-28Fixed reduction of & in cast_possible_truncationMats Macke-1/+6
2024-04-18Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-7/+3
2024-04-15Fix clippyMichael Goulet-1/+1
2024-04-15[`ptr_as_ptr`]: Fix duplicate errorsLuv-Ray-1/+0
2024-04-04Auto merge of #12631 - franciscoBSalgueiro:11738, r=blyxyasbors-7/+4
2024-04-04Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-u...Philipp Krones-24/+25
2024-04-04Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-24/+25
2024-04-03Fix #11738: allow `cast` lints in macrosFrancisco Salgueiro-7/+4
2024-04-02avoid an ICE in `ptr_as_ptr` when getting the def_id of a localy21-1/+1
2024-04-01fix fallout from previous commity21-19/+19
2024-03-30Auto merge of #12312 - pitaj:legacy_numeric_constants, r=xFrednetbors-2/+2
2024-03-23Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obkMatthias Krüger-3/+3
2024-03-22Rename `hir::Node::Local` into `hir::Node::LetStmt`Guillaume Gomez-3/+3
2024-03-22And the tools tooMichael Goulet-26/+15
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-4/+4
2024-03-22Auto merge of #12508 - y21:issue12506, r=llogiqbors-2/+3
2024-03-21new lint `legacy_numeric_constants`Catherine-2/+2
2024-03-21Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-u...Philipp Krones-11/+32
2024-03-20FP: `cast_lossless`: disable lint when casting to (u)128 from any (u)int typeJacherr-2/+5
2024-03-19fix infinite loop when peeling unwrap method callsy21-2/+3
2024-03-12[`cast_lossless`]: Suggest type alias instead of the aliased typeCatherine Flores-9/+27
2024-03-07Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-u...Philipp Krones-1/+12
2024-03-07Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-1/+12
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-27[`unnecessary_cast`]: Avoid breaking precedenceEthiraric-1/+12
2024-02-27Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-u...Philipp Krones-71/+259
2024-02-27Auto merge of #12126 - teor2345:patch-1, r=llogiqbors-64/+246
2024-02-27Remove redundant uncertain_countsteor-13/+10
2024-02-25Remove `clippy_utils::get_parent_node`Alex Macleod-2/+2