Merge pull request #18952 from lh123/add-raw-keyword-complete

feat: complete raw, const keyword
This commit is contained in:
Lukas Wirth 2025-01-16 14:24:53 +00:00 committed by GitHub
commit 903bc8133c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 168 additions and 8 deletions

View file

@ -146,6 +146,7 @@ pub(crate) struct PathExprCtx {
pub(crate) in_condition: bool,
pub(crate) incomplete_let: bool,
pub(crate) ref_expr_parent: Option<ast::RefExpr>,
pub(crate) after_amp: bool,
/// The surrounding RecordExpression we are completing a functional update
pub(crate) is_func_update: Option<ast::RecordExpr>,
pub(crate) self_param: Option<hir::SelfParam>,