| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-17 | Move some `Map` methods onto `TyCtxt`. | Nicholas Nethercote | -2/+2 | |
| The end goal is to eliminate `Map` altogether. I added a `hir_` prefix to all of them, that seemed simplest. The exceptions are `module_items` which became `hir_module_free_items` because there was already a `hir_module_items`, and `items` which became `hir_free_items` for consistency with `hir_module_free_items`. | ||||
| 2025-02-06 | Merge commit '3e3715c31236bff56f1c63a1de2c7bbdfcfb0923' into ↵ | Philipp Krones | -4/+7 | |
| clippy-subtree-update | ||||
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -8/+5 | |
| clippy-subtree-update | ||||
| 2024-07-11 | Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-05-30 | Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-02-27 | Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into ↵ | Philipp Krones | -19/+17 | |
| clippy-subtree-update | ||||
| 2024-02-07 | hir: Remove `fn opt_hir_id` and `fn opt_span` | Vadim Petrochenkov | -2/+2 | |
| 2023-12-16 | Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup | Philipp Krones | -23/+23 | |
| 2023-12-12 | Move some methods from `tcx.hir()` to `tcx` | zetanumbers | -1/+1 | |
| Renamings: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id Fix rebase changes using removed methods Use `tcx.hir_node_by_def_id()` whenever possible in compiler Fix clippy errors Fix compiler Apply suggestions from code review Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Add FIXME for `tcx.hir()` returned type about its removal Simplify with with `tcx.hir_node_by_def_id` | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -20/+17 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -7/+9 | |
| 2023-02-14 | Add `of_trait` to DefKind::Impl. | Camille GILLOT | -1/+1 | |
| 2022-12-29 | Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup | Philipp Krones | -2/+2 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -1/+1 | |
| spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. | ||||
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -2/+2 | |
| 2022-06-16 | Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup | flip1995 | -7/+11 | |
| 2022-05-06 | use def_span and def_kind queries instead of calling tcx.hir() methods | Miguel Guarniz | -6/+6 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-05-05 | Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup | flip1995 | -102/+98 | |
| 2022-04-08 | remove CheckVisitor, CollectExternCrateVisitor and ItemLikeVisitor impls | Miguel Guarniz | -0/+4 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-04-08 | Refactor HIR item-like traversal (part 1) | Miguel Guarniz | -1/+2 | |
| - Create hir_crate_items query which traverses tcx.hir_crate(()).owners to return a hir::ModuleItems - use tcx.hir_crate_items in tcx.hir().items() to return an iterator of hir::ItemId - add par_items(impl Fn(hir::ItemId)) to traverse all items in parallel Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
| 2022-01-19 | Store a `Symbol` instead of an `Ident` in `AssocItem` | Aaron Hill | -1/+1 | |
| This is the same idea as #92533, but for `AssocItem` instead of `VariantDef`/`FieldDef`. With this change, we no longer have any uses of `#[stable_hasher(project(...))]` | ||||
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -3/+4 | |
| 2021-09-30 | Do not pass hir::Crate to lints. | Camille GILLOT | -3/+3 | |
| 2021-09-28 | Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup | flip1995 | -0/+160 | |
