File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -956,7 +956,7 @@ contexts:
956
956
pop : true
957
957
- include : macro-matchers
958
958
959
- - match : ' (\$\s*{{identifier}})\s*(:)\s*(ident|path|expr|ty|pat|stmt|block|item|meta|tt|lifetime|vis|literal)'
959
+ - match : ' (\$\s*{{identifier}})\s*(:)\s*(ident|path|expr|ty|pat_param| pat|stmt|block|item|meta|tt|lifetime|vis|literal)'
960
960
captures :
961
961
1 : variable.parameter.rust
962
962
2 : punctuation.separator.rust
Original file line number Diff line number Diff line change @@ -334,6 +334,9 @@ macro_rules! designators {
334
334
$p: pat,
335
335
// ^^ variable.parameter
336
336
// ^^^ storage.type
337
+ $pp: pat_param,
338
+ // ^^^ variable.parameter
339
+ // ^^^^^^^^^ storage.type
337
340
$e: expr,
338
341
// ^^ variable.parameter
339
342
// ^^^^ storage.type
You can’t perform that action at this time.
0 commit comments