Fold Definitions
into the untracked data
This commit is contained in:
parent
1c1d3570ee
commit
75ff5c7dd3
10 changed files with 49 additions and 70 deletions
|
@ -1298,7 +1298,8 @@ impl<'a> Resolver<'a> {
|
|||
// otherwise cause duplicate suggestions.
|
||||
continue;
|
||||
}
|
||||
if let Some(crate_id) = self.crate_loader().maybe_process_path_extern(ident.name) {
|
||||
let crate_id = self.crate_loader().maybe_process_path_extern(ident.name);
|
||||
if let Some(crate_id) = crate_id {
|
||||
let crate_root = self.expect_module(crate_id.as_def_id());
|
||||
suggestions.extend(self.lookup_import_candidates_from_module(
|
||||
lookup_ident,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue