diff options
Diffstat (limited to 'crates/parser/src/grammar/items/use_item.rs')
-rw-r--r-- | crates/parser/src/grammar/items/use_item.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/grammar/items/use_item.rs b/crates/parser/src/grammar/items/use_item.rs index 8e836a77e..20e6a13cf 100644 --- a/crates/parser/src/grammar/items/use_item.rs +++ b/crates/parser/src/grammar/items/use_item.rs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | use super::*; | 3 | use super::*; |
4 | 4 | ||
5 | pub(super) fn use_item(p: &mut Parser, m: Marker) { | 5 | pub(super) fn use_(p: &mut Parser, m: Marker) { |
6 | assert!(p.at(T![use])); | 6 | assert!(p.at(T![use])); |
7 | p.bump(T![use]); | 7 | p.bump(T![use]); |
8 | use_tree(p, true); | 8 | use_tree(p, true); |
@@ -80,7 +80,7 @@ fn use_tree(p: &mut Parser, top_level: bool) { | |||
80 | // running::out::of::synonyms::for_::different::* | 80 | // running::out::of::synonyms::for_::different::* |
81 | // }; | 81 | // }; |
82 | // use Trait as _; | 82 | // use Trait as _; |
83 | opt_alias(p); | 83 | opt_rename(p); |
84 | } | 84 | } |
85 | T![:] if p.at(T![::]) => { | 85 | T![:] if p.at(T![::]) => { |
86 | p.bump(T![::]); | 86 | p.bump(T![::]); |