diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 10:58:41 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 10:58:41 +0100 |
commit | 6cd2131cafd29ae17442efbcce652bd447576f27 (patch) | |
tree | 4ceffb487f853772eeef77948bb7221949640a3b /xtask/src/codegen | |
parent | 7d09e5ed618b9b9d6e00b57b24db0b9c8a8c12d7 (diff) |
Rename Rename
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 470ac8c8f..76c070402 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -396,16 +396,16 @@ UseItem = | |||
396 | Attr* Visibility? 'use' UseTree ';' | 396 | Attr* Visibility? 'use' UseTree ';' |
397 | 397 | ||
398 | UseTree = | 398 | UseTree = |
399 | Path ('::' ('*' | UseTreeList)) Alias? | 399 | Path ('::' ('*' | UseTreeList)) Rename? |
400 | 400 | ||
401 | UseTreeList = | 401 | UseTreeList = |
402 | '{' UseTree* '}' | 402 | '{' UseTree* '}' |
403 | 403 | ||
404 | Alias = | 404 | Rename = |
405 | 'as' Name | 405 | 'as' Name |
406 | 406 | ||
407 | ExternCrateItem = | 407 | ExternCrateItem = |
408 | Attr* Visibility? 'extern' 'crate' (NameRef | 'self') Alias? ';' | 408 | Attr* Visibility? 'extern' 'crate' (NameRef | 'self') Rename? ';' |
409 | 409 | ||
410 | Path = | 410 | Path = |
411 | (qualifier:Path '::')? segment:PathSegment | 411 | (qualifier:Path '::')? segment:PathSegment |