mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 20:31:59 +00:00
fix: Make lang items query properly filter out overwritten/excluded sysroots
This commit is contained in:
parent
e10fa9393e
commit
15ac6a21dd
7 changed files with 167 additions and 69 deletions
|
|
@ -66,13 +66,9 @@ pub use rustc_hash::{FxHashMap, FxHashSet, FxHasher};
|
|||
pub use ::line_index;
|
||||
|
||||
/// `base_db` is normally also needed in places where `ide_db` is used, so this re-export is for convenience.
|
||||
pub use base_db;
|
||||
pub use base_db::{self, FxIndexMap, FxIndexSet};
|
||||
pub use span::{self, FileId};
|
||||
|
||||
pub type FxIndexSet<T> = indexmap::IndexSet<T, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>;
|
||||
pub type FxIndexMap<K, V> =
|
||||
indexmap::IndexMap<K, V, std::hash::BuildHasherDefault<rustc_hash::FxHasher>>;
|
||||
|
||||
pub type FilePosition = FilePositionWrapper<FileId>;
|
||||
pub type FileRange = FileRangeWrapper<FileId>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue