Rename UseItem -> Use

This commit is contained in:
Aleksey Kladov 2020-07-30 14:12:04 +02:00
parent e381c02ef3
commit b1332670c7
18 changed files with 43 additions and 42 deletions

View file

@ -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",

View file

@ -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 =