mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
feat: suggest name in let_stmt and fn_param
This commit is contained in:
parent
b207e5781e
commit
492e66ceab
5 changed files with 53 additions and 2 deletions
|
@ -264,6 +264,7 @@ pub(crate) struct PatternContext {
|
|||
pub(crate) refutability: PatternRefutability,
|
||||
pub(crate) param_ctx: Option<ParamContext>,
|
||||
pub(crate) has_type_ascription: bool,
|
||||
pub(crate) should_suggest_name: bool,
|
||||
pub(crate) parent_pat: Option<ast::Pat>,
|
||||
pub(crate) ref_token: Option<SyntaxToken>,
|
||||
pub(crate) mut_token: Option<SyntaxToken>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue