From de4c5e381fb1adc25143dcd67af6c87f6d9789ae Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Mon, 4 Feb 2019 23:26:25 +0100 Subject: Fix ReachedFixedPoint value for unresolved external prelude items --- crates/ra_hir/src/nameres.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src') diff --git a/crates/ra_hir/src/nameres.rs b/crates/ra_hir/src/nameres.rs index f9da6bc83..681aa9a67 100644 --- a/crates/ra_hir/src/nameres.rs +++ b/crates/ra_hir/src/nameres.rs @@ -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 } } }; -- cgit v1.2.3