allow aliases in underscores

this helps with

    use foo::Trait as _;

syntax
This commit is contained in:
Aleksey Kladov 2019-03-04 16:38:54 +03:00
parent dc8bcc1e42
commit 0a19f4f1b4
4 changed files with 21 additions and 2 deletions

View file

@ -76,6 +76,7 @@ fn use_tree(p: &mut Parser) {
// yet::another::path,
// running::out::of::synonyms::for_::different::*
// };
// use Trait as _;
opt_alias(p);
}
COLONCOLON => {