Auto merge of #99334 - NiklasJonsson:84447/error-privacy, r=oli-obk
rustc_error, rustc_private: Switch to stable hash containers Relates https://github.com/rust-lang/rust/issues/84447
This commit is contained in:
commit
52e003a6e9
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