File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/tools/rust-analyzer/crates/hir-ty/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ extern crate rustc_next_trait_solver;
3939#[ cfg( not( feature = "in-rust-tree" ) ) ]
4040extern crate ra_ap_rustc_next_trait_solver as rustc_next_trait_solver;
4141
42+ #[ cfg( feature = "in-rust-tree" ) ]
43+ extern crate rustc_data_structures as ena;
44+
4245mod builder;
4346mod chalk_db;
4447mod chalk_ext;
Original file line number Diff line number Diff line change @@ -40,5 +40,8 @@ pub type AliasTy<'db> = rustc_type_ir::AliasTy<DbInterner<'db>>;
4040pub type PolyFnSig < ' db > = Binder < ' db , rustc_type_ir:: FnSig < DbInterner < ' db > > > ;
4141pub type TypingMode < ' db > = rustc_type_ir:: TypingMode < DbInterner < ' db > > ;
4242
43+ #[ cfg( feature = "in-rust-tree" ) ]
44+ use rustc_data_structure:: sorted_map:: index_map as indexmap;
45+
4346pub type FxIndexMap < K , V > =
4447 indexmap:: IndexMap < K , V , std:: hash:: BuildHasherDefault < rustc_hash:: FxHasher > > ;
You can’t perform that action at this time.
0 commit comments