mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
Fix ReachedFixedPoint value for unresolved external prelude items
This commit is contained in:
@@ -431,7 +431,7 @@ fn resolve_path_fp(
|
||||
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
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user