Qualified paths

This commit is contained in:
Aleksey Kladov 2018-08-13 23:54:00 +03:00
parent d9e86e574a
commit 49ab441024
6 changed files with 113 additions and 20 deletions

View file

@ -332,7 +332,7 @@ fn arg_list(p: &mut Parser) {
// let _ = format!();
// }
fn path_expr(p: &mut Parser, r: Restrictions) -> CompletedMarker {
assert!(paths::is_path_start(p));
assert!(paths::is_path_start(p) || p.at(L_ANGLE));
let m = p.start();
paths::expr_path(p);
match p.current() {