mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Rename UseItem -> Use
This commit is contained in:
parent
e381c02ef3
commit
b1332670c7
18 changed files with 43 additions and 42 deletions
|
@ -100,7 +100,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
|
|||
"RET_TYPE",
|
||||
"EXTERN_CRATE",
|
||||
"MODULE",
|
||||
"USE_ITEM",
|
||||
"USE",
|
||||
"STATIC_DEF",
|
||||
"CONST_DEF",
|
||||
"TRAIT_DEF",
|
||||
|
|
|
@ -17,7 +17,7 @@ Item =
|
|||
| TraitDef
|
||||
| TypeAliasDef
|
||||
| UnionDef
|
||||
| UseItem
|
||||
| Use
|
||||
|
||||
Module =
|
||||
Attr* Visibility? 'mod' Name
|
||||
|
@ -32,7 +32,7 @@ ExternCrate =
|
|||
Rename =
|
||||
'as' (Name | '_')
|
||||
|
||||
UseItem =
|
||||
Use =
|
||||
Attr* Visibility? 'use' UseTree ';'
|
||||
|
||||
UseTree =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue