aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 13:12:04 +0100
committerAleksey Kladov <[email protected]>2020-07-30 13:12:04 +0100
commit9697d23cbe7b0ad897139b15f1b1ffe1cab6ad89 (patch)
tree8bb4cfc1f38b2add3704c64e0443b69e38ab272a /xtask
parent35e7966ebeee70ca2c15b5139b5c1918d9ef4086 (diff)
Rename UseItem -> Use
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/ast_src.rs2
-rw-r--r--xtask/src/codegen/rust.ungram4
2 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 083727c5c..3a58217c4 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -100,7 +100,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
100 "RET_TYPE", 100 "RET_TYPE",
101 "EXTERN_CRATE", 101 "EXTERN_CRATE",
102 "MODULE", 102 "MODULE",
103 "USE_ITEM", 103 "USE",
104 "STATIC_DEF", 104 "STATIC_DEF",
105 "CONST_DEF", 105 "CONST_DEF",
106 "TRAIT_DEF", 106 "TRAIT_DEF",
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 2ba68457f..449b0242f 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -17,7 +17,7 @@ Item =
17| TraitDef 17| TraitDef
18| TypeAliasDef 18| TypeAliasDef
19| UnionDef 19| UnionDef
20| UseItem 20| Use
21 21
22Module = 22Module =
23 Attr* Visibility? 'mod' Name 23 Attr* Visibility? 'mod' Name
@@ -32,7 +32,7 @@ ExternCrate =
32Rename = 32Rename =
33 'as' (Name | '_') 33 'as' (Name | '_')
34 34
35UseItem = 35Use =
36 Attr* Visibility? 'use' UseTree ';' 36 Attr* Visibility? 'use' UseTree ';'
37 37
38UseTree = 38UseTree =