diff options
| author | Laurențiu Nicola <lnicola@users.noreply.github.com> | 2025-09-18 18:16:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 18:16:41 +0000 |
| commit | ddbfd3a1d8d7f819a6a5a59c6a4a6f889b702ffe (patch) | |
| tree | dc4d02432873a65f9d69442ebb08a9a704891554 /src | |
| parent | 4f24cc65ee1a2aa59f70e2c4f81b2e63f86d9265 (diff) | |
| parent | 60f0407ba313fbea163ee4fe21a8a71ba633ecc6 (diff) | |
| download | rust-ddbfd3a1d8d7f819a6a5a59c6a4a6f889b702ffe.tar.gz rust-ddbfd3a1d8d7f819a6a5a59c6a4a6f889b702ffe.zip | |
Merge pull request #20693 from ShoyuVanilla/fix-indexmap-in-tree
fix: Fix `indexmap` with `in-rust-tree`
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs b/src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs index deee8dd1ff0..073a02908de 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs +++ b/src/tools/rust-analyzer/crates/hir-ty/src/next_solver.rs @@ -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>; |
