fix: Fix indexmap with in-rust-tree

This commit is contained in:
Shoyu Vanilla 2025-09-19 03:04:14 +09:00
parent 4f24cc65ee
commit 60f0407ba3

View file

@ -45,9 +45,4 @@ pub type PolyFnSig<'db> = Binder<'db, rustc_type_ir::FnSig<DbInterner<'db>>>;
pub type TypingMode<'db> = rustc_type_ir::TypingMode<DbInterner<'db>>;
pub type TypeError<'db> = rustc_type_ir::error::TypeError<DbInterner<'db>>;
pub type QueryResult<'db> = rustc_type_ir::solve::QueryResult<DbInterner<'db>>;
#[cfg(feature = "in-rust-tree")]
use rustc_data_structure::sorted_map::index_map as indexmap;
pub type FxIndexMap<K, V> =
indexmap::IndexMap<K, V, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>;
pub type FxIndexMap<K, V> = rustc_type_ir::data_structures::IndexMap<K, V>;