mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 19:12:50 +00:00
Minor
This commit is contained in:
parent
ceca94536c
commit
71a4d32562
@ -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 New Issue
Block a user