mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
remove Cancelable from navigation target
This commit is contained in:
parent
9dd4099d93
commit
f1367e0370
11 changed files with 29 additions and 42 deletions
|
@ -12,7 +12,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) -> C
|
|||
Some(it) => it,
|
||||
None => return Ok(()),
|
||||
};
|
||||
match def_id.resolve(ctx.db)? {
|
||||
match def_id.resolve(ctx.db) {
|
||||
hir::Def::Module(module) => {
|
||||
let module_scope = module.scope(ctx.db)?;
|
||||
for (name, res) in module_scope.entries() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue