mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Merge commit 'aa9bc86125
' into sync-from-ra
This commit is contained in:
parent
1570299af4
commit
c48062fe2a
598 changed files with 57696 additions and 17615 deletions
|
@ -31,7 +31,7 @@ pub(crate) fn unresolved_module(
|
|||
}
|
||||
|
||||
fn fixes(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedModule) -> Option<Vec<Assist>> {
|
||||
let root = ctx.sema.db.parse_or_expand(d.decl.file_id)?;
|
||||
let root = ctx.sema.db.parse_or_expand(d.decl.file_id);
|
||||
let unresolved_module = d.decl.value.to_node(&root);
|
||||
Some(
|
||||
d.candidates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue