mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Rename Rename
This commit is contained in:
parent
7d09e5ed61
commit
6cd2131caf
11 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue