summary refs log tree commit diff
path: root/compiler/rustc_middle/src/hir/mod.rs
AgeCommit message (Expand)AuthorLines
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-0/+12
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-16Use FnSig instead of raw FnDecl for ForeignItemKind::FnMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-1/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-4/+7
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-1/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-04hir: Use `ItemLocalId` in a couple more placesVadim Petrochenkov-1/+1
2024-04-03hir: Drop owner's own item-local id (zero) from parenting tablesVadim Petrochenkov-2/+6
2024-03-21rename items -> free_itemsRalf Jung-5/+7
2024-03-21add some comments to hir::ModuleItemsRalf Jung-0/+6
2024-03-14Fill in HIR hash for associated opaque typesVadim Petrochenkov-0/+27
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-6/+4
2024-02-10hir: Introduce `TyCtxt::parent_hir_{id,node}`Vadim Petrochenkov-7/+8
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-5/+2
2024-02-03hir: Remove the generic type parameter from `MaybeOwned`Vadim Petrochenkov-5/+4
2024-01-30hir: Simplify `hir_owner_nodes` queryVadim Petrochenkov-7/+2
2024-01-16Get rid of the hir_owner query.Camille GILLOT-28/+7
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-28resolve: Feed the `def_kind` query immediately on `DefId` creationVadim Petrochenkov-1/+0
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-4/+4
2023-11-25rustc: Make `def_kind` mandatory for all `DefId`sVadim Petrochenkov-1/+1
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-10/+22
2023-08-19remove redundant var rebindingsMatthias Krüger-5/+2
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-5/+5
2023-08-05parent_module_from_def_id does not need to be a query.Camille GILLOT-5/+15
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-17Retire is_foreign_item query.Camille GILLOT-0/+7
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-5/+5
2023-04-13make impl_subject more readableKyle Matsuda-6/+4
2023-04-13make tcx.impl_subject return EarlyBinder, remove bound_impl_subject, rename u...Kyle Matsuda-6/+8
2023-03-21Use local key in providersMichael Goulet-8/+6
2023-03-13Don't opt_rpitit_info as a separate queryMichael Goulet-1/+0
2023-03-08Only compute the crate hash when necessary.Nicholas Nethercote-5/+5
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-03-01Add opt_rpitit_info querySantiago Pastorino-0/+1
2023-02-26Simplify diagnostic_items.Camille GILLOT-5/+9
2023-02-17Make encode_attrs use opt_local_def_id_to_hir_id so we can feed it with None ...Santiago Pastorino-3/+3
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-01-17Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger-1/+1
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-14change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_re...Kyle Matsuda-1/+1
2023-01-14change usages of impl_trait_ref to bound_impl_trait_refKyle Matsuda-1/+2
2022-12-27Provide local extern function arg namesMichael Goulet-1/+5
2022-12-09Move the untracked cstore and source_span into a structOli Scherer-2/+0
2022-11-26Verify that HIR parenting and Def parenting match.Camille GILLOT-7/+2
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-4/+4