mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
internal: Remove previous_token
field from CompletionContext
This commit is contained in:
parent
90483321ee
commit
bcf10cde13
7 changed files with 50 additions and 37 deletions
|
@ -541,8 +541,8 @@ pub(super) fn complete_name_ref(
|
|||
NameRefKind::Keyword(item) => {
|
||||
keyword::complete_for_and_where(acc, ctx, item);
|
||||
}
|
||||
NameRefKind::RecordExpr(record_expr) => {
|
||||
record::complete_record_expr_fields(acc, ctx, record_expr);
|
||||
NameRefKind::RecordExpr { dot_prefix, expr } => {
|
||||
record::complete_record_expr_fields(acc, ctx, expr, dot_prefix);
|
||||
}
|
||||
NameRefKind::Pattern(pattern_ctx) => complete_patterns(acc, ctx, pattern_ctx),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue