mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Finish Module grammar
This commit is contained in:
parent
081f35fe1b
commit
7d09e5ed61
2 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,7 @@ Module =
|
|||
(ItemList | ';')
|
||||
|
||||
ItemList =
|
||||
'{' Item* '}'
|
||||
'{' Attr* Item* '}'
|
||||
|
||||
FnDef =
|
||||
Attr* Visibility? Abi? 'const' 'default' 'async' 'unsafe' 'fn' Name TypeParamList?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue