Fix ReachedFixedPoint value for unresolved external prelude items

This commit is contained in:
Florian Diebold 2019-02-04 23:26:25 +01:00
parent 699ce06ac3
commit de4c5e381f

View file

@ -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
}
}
};