rustc_error, rustc_private, rustc_ast: Switch to stable hash containers
This commit is contained in:
parent
db9d86b58d
commit
8d3c30c004
8 changed files with 36 additions and 16 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue