1
Fork 0

rustc_error, rustc_private, rustc_ast: Switch to stable hash containers

This commit is contained in:
Niklas Jonsson 2022-07-16 15:16:57 +02:00
parent db9d86b58d
commit 8d3c30c004
8 changed files with 36 additions and 16 deletions

View file

@ -67,8 +67,13 @@ impl PartialOrd for HirId {
}
}
rustc_data_structures::define_id_collections!(HirIdMap, HirIdSet, HirId);
rustc_data_structures::define_id_collections!(ItemLocalMap, ItemLocalSet, ItemLocalId);
rustc_data_structures::define_stable_id_collections!(HirIdMap, HirIdSet, HirIdMapEntry, HirId);
rustc_data_structures::define_id_collections!(
ItemLocalMap,
ItemLocalSet,
ItemLocalMapEntry,
ItemLocalId
);
rustc_index::newtype_index! {
/// An `ItemLocalId` uniquely identifies something within a given "item-like";