mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
fix: Fix auto-ref completions inserting into wrong locations
This commit is contained in:
parent
1f028403cd
commit
06ee4d6222
10 changed files with 98 additions and 94 deletions
|
@ -556,6 +556,7 @@ impl<'a> CompletionContext<'a> {
|
|||
has_macro_bang: false,
|
||||
qualified: Qualified::No,
|
||||
parent: path.parent_path(),
|
||||
path: path.clone(),
|
||||
kind: PathKind::Item { kind: ItemListKind::SourceFile },
|
||||
has_type_args: false,
|
||||
use_tree_parent: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue