From dc40f1298a8d4dcb7a26d5af38c4fb7ef3d6c5df Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Aug 2018 01:19:38 +0300 Subject: better self-types --- crates/libsyntax2/src/grammar/items/use_item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/libsyntax2/src/grammar/items/use_item.rs') diff --git a/crates/libsyntax2/src/grammar/items/use_item.rs b/crates/libsyntax2/src/grammar/items/use_item.rs index a3f7f0da8..3da40a629 100644 --- a/crates/libsyntax2/src/grammar/items/use_item.rs +++ b/crates/libsyntax2/src/grammar/items/use_item.rs @@ -26,7 +26,7 @@ fn use_tree(p: &mut Parser) { paths::use_path(p); match p.current() { AS_KW => { - alias(p); + opt_alias(p); } COLONCOLON => { p.bump(); -- cgit v1.2.3