Skip to content

Commit

Permalink
Fix ReachedFixedPoint value for unresolved external prelude items
Browse files Browse the repository at this point in the history
  • Loading branch information
flodiebold committed Feb 4, 2019
1 parent 699ce06 commit de4c5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ra_hir/src/nameres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
};
Expand Down

0 comments on commit de4c5e3

Please sign in to comment.