mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +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
|
@ -61,6 +61,8 @@ pub(crate) struct PathCompletionCtx {
|
|||
pub(super) qualified: Qualified,
|
||||
/// The parent of the path we are completing.
|
||||
pub(super) parent: Option<ast::Path>,
|
||||
/// The path of which we are completing the segment
|
||||
pub(super) path: ast::Path,
|
||||
pub(super) kind: PathKind,
|
||||
/// Whether the path segment has type args or not.
|
||||
pub(super) has_type_args: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue