mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Introduce NameRefContext
This commit is contained in:
parent
1dc83f5a90
commit
6a045c7029
20 changed files with 145 additions and 106 deletions
|
@ -52,7 +52,7 @@ fn render(
|
|||
let db = completion.db;
|
||||
let kind = thing.kind(db);
|
||||
let has_call_parens =
|
||||
matches!(completion.path_context, Some(PathCompletionCtx { has_call_parens: true, .. }));
|
||||
matches!(completion.path_context(), Some(PathCompletionCtx { has_call_parens: true, .. }));
|
||||
|
||||
let fields = thing.fields(completion)?;
|
||||
let (qualified_name, short_qualified_name, qualified) = match path {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue