diff options
Diffstat (limited to 'crates/ra_parser/src/grammar/items')
-rw-r--r-- | crates/ra_parser/src/grammar/items/use_item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/items/use_item.rs b/crates/ra_parser/src/grammar/items/use_item.rs index c3a0b4410..c0c7d0ec6 100644 --- a/crates/ra_parser/src/grammar/items/use_item.rs +++ b/crates/ra_parser/src/grammar/items/use_item.rs | |||
@@ -65,7 +65,7 @@ fn use_tree(p: &mut Parser) { | |||
65 | // use crate::Item; | 65 | // use crate::Item; |
66 | // use self::some::Struct; | 66 | // use self::some::Struct; |
67 | // use crate_name::some_item; | 67 | // use crate_name::some_item; |
68 | _ if paths::is_path_start(p) => { | 68 | _ if paths::is_use_path_start(p) => { |
69 | paths::use_path(p); | 69 | paths::use_path(p); |
70 | match p.current() { | 70 | match p.current() { |
71 | T![as] => { | 71 | T![as] => { |