mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +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
|
| 'in' Path
|
||||||
')')?
|
')')?
|
||||||
|
|
||||||
|
Attr =
|
||||||
|
'#' '!'? '[' Path ('=' input:AttrInput)? ']'
|
||||||
|
|
||||||
|
AttrInput =
|
||||||
|
Literal | TokenTree
|
||||||
|
|
||||||
ParenType =
|
ParenType =
|
||||||
'(' TypeRef ')'
|
'(' TypeRef ')'
|
||||||
|
|
||||||
|
@ -421,9 +427,6 @@ MacroStmts =
|
||||||
statements:Stmt*
|
statements:Stmt*
|
||||||
Expr?
|
Expr?
|
||||||
|
|
||||||
Attr =
|
|
||||||
'#' '!'? '[' Path ('=' input:AttrInput)? ']'
|
|
||||||
|
|
||||||
TypeBound =
|
TypeBound =
|
||||||
'lifetime' | 'const'? TypeRef
|
'lifetime' | 'const'? TypeRef
|
||||||
|
|
||||||
|
@ -493,10 +496,6 @@ TypeRef =
|
||||||
| ImplTraitType
|
| ImplTraitType
|
||||||
| DynTraitType
|
| DynTraitType
|
||||||
|
|
||||||
AttrInput =
|
|
||||||
Literal
|
|
||||||
| TokenTree
|
|
||||||
|
|
||||||
Stmt =
|
Stmt =
|
||||||
LetStmt
|
LetStmt
|
||||||
| ExprStmt
|
| ExprStmt
|
||||||
|
|
Loading…
Reference in a new issue