mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Minor
This commit is contained in:
parent
ceca94536c
commit
71a4d32562
1 changed files with 6 additions and 7 deletions
|
@ -181,6 +181,12 @@ Visibility =
|
|||
| 'in' Path
|
||||
')')?
|
||||
|
||||
Attr =
|
||||
'#' '!'? '[' Path ('=' input:AttrInput)? ']'
|
||||
|
||||
AttrInput =
|
||||
Literal | TokenTree
|
||||
|
||||
ParenType =
|
||||
'(' TypeRef ')'
|
||||
|
||||
|
@ -421,9 +427,6 @@ MacroStmts =
|
|||
statements:Stmt*
|
||||
Expr?
|
||||
|
||||
Attr =
|
||||
'#' '!'? '[' Path ('=' input:AttrInput)? ']'
|
||||
|
||||
TypeBound =
|
||||
'lifetime' | 'const'? TypeRef
|
||||
|
||||
|
@ -493,10 +496,6 @@ TypeRef =
|
|||
| ImplTraitType
|
||||
| DynTraitType
|
||||
|
||||
AttrInput =
|
||||
Literal
|
||||
| TokenTree
|
||||
|
||||
Stmt =
|
||||
LetStmt
|
||||
| ExprStmt
|
||||
|
|
Loading…
Reference in a new issue