mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 03:54:42 +00:00 
			
		
		
		
	Fix "sync-from-ra" for rust-lang/rust
				
					
				
			This commit is contained in:
		
							parent
							
								
									57ad00b07f
								
							
						
					
					
						commit
						0b76080c36
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -39,6 +39,9 @@ extern crate rustc_next_trait_solver; | ||||||
| #[cfg(not(feature = "in-rust-tree"))] | #[cfg(not(feature = "in-rust-tree"))] | ||||||
| extern crate ra_ap_rustc_next_trait_solver as rustc_next_trait_solver; | extern crate ra_ap_rustc_next_trait_solver as rustc_next_trait_solver; | ||||||
| 
 | 
 | ||||||
|  | #[cfg(feature = "in-rust-tree")] | ||||||
|  | extern crate rustc_data_structures as ena; | ||||||
|  | 
 | ||||||
| mod builder; | mod builder; | ||||||
| mod chalk_db; | mod chalk_db; | ||||||
| mod chalk_ext; | mod chalk_ext; | ||||||
|  |  | ||||||
|  | @ -40,5 +40,8 @@ pub type AliasTy<'db> = rustc_type_ir::AliasTy<DbInterner<'db>>; | ||||||
| pub type PolyFnSig<'db> = Binder<'db, rustc_type_ir::FnSig<DbInterner<'db>>>; | pub type PolyFnSig<'db> = Binder<'db, rustc_type_ir::FnSig<DbInterner<'db>>>; | ||||||
| pub type TypingMode<'db> = rustc_type_ir::TypingMode<DbInterner<'db>>; | pub type TypingMode<'db> = rustc_type_ir::TypingMode<DbInterner<'db>>; | ||||||
| 
 | 
 | ||||||
|  | #[cfg(feature = "in-rust-tree")] | ||||||
|  | use rustc_data_structure::sorted_map::index_map as indexmap; | ||||||
|  | 
 | ||||||
| pub type FxIndexMap<K, V> = | pub type FxIndexMap<K, V> = | ||||||
|     indexmap::IndexMap<K, V, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>; |     indexmap::IndexMap<K, V, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shoyu Vanilla
						Shoyu Vanilla