diff options
author | Florian Diebold <[email protected]> | 2019-02-04 22:26:25 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-02-04 22:26:25 +0000 |
commit | de4c5e381fb1adc25143dcd67af6c87f6d9789ae (patch) | |
tree | e3a3b45a3e62edfcd09fe3d6ca986a29c6f3894b /crates/ra_hir | |
parent | 699ce06ac3d857c7d4eaf01c523964f01d1b35f2 (diff) |
Fix ReachedFixedPoint value for unresolved external prelude items
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/nameres.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
431 | log::debug!("absolute path {:?} resolved to crate {:?}", path, def); | 431 | log::debug!("absolute path {:?} resolved to crate {:?}", path, def); |
432 | PerNs::types(*def) | 432 | PerNs::types(*def) |
433 | } else { | 433 | } else { |
434 | return (PerNs::none(), ReachedFixedPoint::Yes); | 434 | return (PerNs::none(), ReachedFixedPoint::No); // extern crate declarations can add to the extern prelude |
435 | } | 435 | } |
436 | } | 436 | } |
437 | }; | 437 | }; |