Skip to content

Commit 60f0407

Browse files
committed
fix: Fix indexmap with in-rust-tree
1 parent 4f24cc6 commit 60f0407

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,4 @@ pub type PolyFnSig<'db> = Binder<'db, rustc_type_ir::FnSig<DbInterner<'db>>>;
4545
pub type TypingMode<'db> = rustc_type_ir::TypingMode<DbInterner<'db>>;
4646
pub type TypeError<'db> = rustc_type_ir::error::TypeError<DbInterner<'db>>;
4747
pub type QueryResult<'db> = rustc_type_ir::solve::QueryResult<DbInterner<'db>>;
48-
49-
#[cfg(feature = "in-rust-tree")]
50-
use rustc_data_structure::sorted_map::index_map as indexmap;
51-
52-
pub type FxIndexMap<K, V> =
53-
indexmap::IndexMap<K, V, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>;
48+
pub type FxIndexMap<K, V> = rustc_type_ir::data_structures::IndexMap<K, V>;

0 commit comments

Comments
 (0)