mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Complete extern prelude (again)
This commit is contained in:
parent
ccef48b6c3
commit
699ce06ac3
4 changed files with 41 additions and 2 deletions
|
@ -197,7 +197,10 @@ impl Scope {
|
|||
.entries()
|
||||
.for_each(|(name, res)| {
|
||||
f(name.clone(), res.def.map(Resolution::Def));
|
||||
})
|
||||
});
|
||||
m.item_map.extern_prelude.iter().for_each(|(name, def)| {
|
||||
f(name.clone(), PerNs::types(Resolution::Def(*def)));
|
||||
});
|
||||
}
|
||||
Scope::GenericParams(gp) => {
|
||||
for param in &gp.params {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue