about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/definitions.rs
AgeCommit message (Expand)AuthorLines
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-3/+3
2023-03-29Properly skip RPITITs from ModChild and give a name in AssocItemSantiago Pastorino-5/+1
2023-03-14Make fns from other crates with RPITIT workSantiago Pastorino-1/+5
2023-02-19Add associated_items_for_impl_trait_in_trait querySantiago Pastorino-2/+4
2023-02-13rustc_resolve: Remove `Resolver::clone_output`Vadim Petrochenkov-1/+1
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-6/+5
2022-11-29Only allow feeding a value to newly created definitions.Camille GILLOT-4/+4
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-01fix ICE in Definitions::create_defGoldstein-1/+6
2022-06-14Separate `source_span` and `expn_that_defined` from `Definitions`.Camille GILLOT-51/+5
2022-05-12Replace DefPathData::Misc by two appropriately-named variants.Camille GILLOT-6/+8
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-5/+0
2022-04-09Use def_key in `tcx.item_name` when possible.Camille GILLOT-0/+5
2022-03-31Store next_disambiguator in Definitions.Camille GILLOT-2/+9
2022-03-30Spellchecking compiler codeYuri Astrakhan-1/+1
2022-03-01compiler: fix some typoscuishuang-1/+1
2022-01-27Store def_id_to_hir_id as variant in hir_owner.Camille GILLOT-30/+1
2022-01-25Store hir_id_to_def_id in OwnerInfo.Camille GILLOT-14/+0
2022-01-19Show a more informative panic message when `DefPathHash` does not existAaron Hill-2/+6
2021-12-22Remove `PartialOrd` and `Ord` from `LocalDefId`pierwill-1/+5
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-2/+2
2021-12-18hir: Do not introduce dummy type names for `extern` blocks in def pathsVadim Petrochenkov-1/+6
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-09-14Make DefPathHash->DefId panic for if the mapping fails.Michael Woerister-1/+2
2021-09-14Use on-disk-hash-table format for DefPathHashMap in hir::definitions.Michael Woerister-5/+14
2021-09-10Add sanity check.Camille GILLOT-0/+4
2021-09-10Keep def_spans collected by resolution.Camille GILLOT-1/+19
2021-07-06Make resolutions a query.Camille GILLOT-2/+2
2021-07-06Auto merge of #86143 - bjorn3:revert_revert_merge_crate_disambiguator, r=mich...bors-3/+1
2021-07-06Revert "Revert "Merge CrateDisambiguator into StableCrateId""bjorn3-3/+1
2021-07-06Store macro parent module in ExpnData.Camille GILLOT-15/+1
2021-06-08Do not require the DefPathTable to construct the on-disk cache.Camille GILLOT-9/+8
2021-06-07Revert "Merge CrateDisambiguator into StableCrateId"bjorn3-1/+3
2021-06-02Miscellaneous inlining improvementsTomasz Miąsko-0/+1
2021-06-01Revert "Reduce the amount of untracked state in TyCtxt"Camille Gillot-2/+2
2021-05-30Make resolutions a query.Camille GILLOT-2/+2
2021-05-30Merge CrateDisambiguator into StableCrateIdbjorn3-3/+1
2021-05-04Add type to differentiate between fake and real DefId'sJustus K-5/+0
2021-03-27Remove (lots of) dead codeJoshua Nelson-6/+1
2021-03-14Remove unused `opt_local_def_id_to_hir_id` functionJoshua Nelson-5/+0
2021-02-04Add unit test to ensure that both parts of a DefPathHash depend on the defini...Michael Woerister-3/+6
2021-02-04Add more explanation to local DefPathHash collision case.Michael Woerister-1/+8
2021-02-02Let a portion of DefPathHash uniquely identify the DefPath's crate.Michael Woerister-20/+41
2021-01-23Iterate DefId to encode spans.Camille GILLOT-0/+4
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-1/+1
2020-10-14Remove unused code from rustc_hirest31-4/+0
2020-10-13Replace absolute paths with relative onesest31-1/+1
2020-09-25Move `is_raw_guess` check in `ty::print::pretty`marmeladema-4/+1
2020-09-25Address review commentmarmeladema-4/+5