about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2024-05-12Propagate errors rather than using return_if_errMichael Goulet-2/+1
2024-05-12Make LateCtxt be a type info delegate for EUV for clippyMichael Goulet-6/+3
2024-05-08Simplify `use crate::rustc_foo::bar` occurrences.Nicholas Nethercote-1/+1
2024-05-02Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-u...Philipp Krones-24/+35
2024-04-18Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into clippy-subtree-u...Philipp Krones-8/+31
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-16/+16
2024-04-16Always use `ty::` qualifier for `TyKind` enum variants.Nicholas Nethercote-3/+3
2024-04-08Stop exporting `TypeckRootCtxt` and `FnCtxt`.Oli Scherer-4/+1
2024-04-04Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-u...Philipp Krones-165/+209
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-4/+3
2024-03-26Inherited -> TypeckRootCtxtMichael Goulet-3/+3
2024-03-23Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obkMatthias Krüger-10/+10
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-2/+2
2024-03-22Rename `hir::Node::Local` into `hir::Node::LetStmt`Guillaume Gomez-6/+6
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-4/+4
2024-03-22Fix clippyMichael Goulet-2/+2
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-22Eagerly convert some ctors to use their specialized ctorsMichael Goulet-5/+2
2024-03-21Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-u...Philipp Krones-74/+316
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-3/+3
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-07Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-u...Philipp Krones-0/+2
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-27Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-u...Philipp Krones-173/+494
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-5/+5
2024-02-08Merge commit '60cb29c5e4f9772685c9873752196725c946a849' into clippyupPhilipp Krones-2/+358
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-3/+3
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-1/+1
2024-01-25Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-u...Philipp Krones-136/+215
2024-01-19Pack the u128 in LitKind::IntJosh Stone-7/+12
2024-01-17Fix clippyOli Scherer-1/+2
2024-01-11Merge commit '26ac6aab023393c94edf42f38f6ad31196009643'Philipp Krones-104/+641
2024-01-08Rustdoc and Clippy stop misusing Key for Ty -> (adt) DefIdMichael Goulet-10/+4
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2024-01-01Address unused tuple struct fields in clippyJake Goulding-8/+8
2023-12-28Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-syncPhilipp Krones-26/+307
2023-12-25Fix clippy's usage of Body's coroutine_kindMichael Goulet-1/+0
2023-12-16Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyupPhilipp Krones-22/+17
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-4/+4
2023-12-10remove redundant importssurechen-1/+1
2023-12-01Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-syncPhilipp Krones-26/+237
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-25Appease the clippyMichael Goulet-1/+1
2023-11-17rename bound region instantiationlcnr-3/+3
2023-11-16Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyupPhilipp Krones-1619/+1497
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-24/+16
2023-11-02Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyupPhilipp Krones-505/+825
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-24/+16