mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Record import source IDs
This commit is contained in:
parent
4bed01c36e
commit
992b928a93
7 changed files with 217 additions and 157 deletions
|
@ -487,7 +487,7 @@ impl ExternCrateDeclData {
|
|||
db.crate_def_map(loc.container.krate())
|
||||
.extern_prelude()
|
||||
.find(|&(prelude_name, ..)| *prelude_name == name)
|
||||
.map(|(_, root)| root.krate())
|
||||
.map(|(_, (root, _))| root.krate())
|
||||
};
|
||||
|
||||
Arc::new(Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue