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

@ -7,7 +7,7 @@ pub(super) fn use_item(p: &mut Parser, m: Marker) {
p.bump(T![use]);
use_tree(p, true);
p.expect(T![;]);
m.complete(p, USE_ITEM);
m.complete(p, USE);
}
/// Parse a use 'tree', such as `some::path` in `use some::path;`

View file

@ -130,7 +130,7 @@ pub enum SyntaxKind {
RET_TYPE,
EXTERN_CRATE,
MODULE,
USE_ITEM,
USE,
STATIC_DEF,
CONST_DEF,
TRAIT_DEF,