Rollup merge of #94595 - TaKO8Ki:fix-invalid-unresolved-imports-errors-for-asterisk-wildcard-syntax, r=estebank
Fix invalid `unresolved imports` errors for a single-segment import closes #90248
This commit is contained in:
commit
f27466d7e2
5 changed files with 31 additions and 1 deletions
|
@ -720,7 +720,9 @@ impl<'a, 'b> ImportResolver<'a, 'b> {
|
|||
note: Vec::new(),
|
||||
suggestion: None,
|
||||
};
|
||||
errors.push((path, err));
|
||||
if path.contains("::") {
|
||||
errors.push((path, err))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue