mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
More precise highlighting rules for constant modifier
This commit is contained in:
parent
640c8b722e
commit
77607ab99a
22 changed files with 87 additions and 6 deletions
|
|
@ -414,7 +414,7 @@ StmtList =
|
|||
'}'
|
||||
|
||||
RefExpr =
|
||||
Attr* '&' ('raw' | 'mut' | 'const') Expr
|
||||
Attr* '&' (('raw' 'const'?)| ('raw'? 'mut') ) Expr
|
||||
|
||||
TryExpr =
|
||||
Attr* Expr '?'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue