mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Fix ReachedFixedPoint value for unresolved external prelude items
This commit is contained in:
parent
699ce06ac3
commit
de4c5e381f
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ impl ItemMap {
|
|||
log::debug!("absolute path {:?} resolved to crate {:?}", path, def);
|
||||
PerNs::types(*def)
|
||||
} else {
|
||||
return (PerNs::none(), ReachedFixedPoint::Yes);
|
||||
return (PerNs::none(), ReachedFixedPoint::No); // extern crate declarations can add to the extern prelude
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue