Rename Rename

This commit is contained in:
Aleksey Kladov 2020-07-30 11:58:41 +02:00
parent 7d09e5ed61
commit 6cd2131caf
11 changed files with 20 additions and 20 deletions

View file

@ -396,16 +396,16 @@ UseItem =
Attr* Visibility? 'use' UseTree ';'
UseTree =
Path ('::' ('*' | UseTreeList)) Alias?
Path ('::' ('*' | UseTreeList)) Rename?
UseTreeList =
'{' UseTree* '}'
Alias =
Rename =
'as' Name
ExternCrateItem =
Attr* Visibility? 'extern' 'crate' (NameRef | 'self') Alias? ';'
Attr* Visibility? 'extern' 'crate' (NameRef | 'self') Rename? ';'
Path =
(qualifier:Path '::')? segment:PathSegment