Skip to content

Commit ddbfd3a

Browse files
authored
Merge pull request rust-lang#20693 from ShoyuVanilla/fix-indexmap-in-tree
fix: Fix `indexmap` with `in-rust-tree`
2 parents 4f24cc6 + 60f0407 commit ddbfd3a

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)