Fix is_path_start to accept T![<], fix is_path_start usages
This commit is contained in:
@@ -549,7 +549,7 @@ fn arg_list(p: &mut Parser) {
|
||||
// let _ = format!();
|
||||
// }
|
||||
fn path_expr(p: &mut Parser, r: Restrictions) -> (CompletedMarker, BlockLike) {
|
||||
assert!(paths::is_path_start(p) || p.at(T![<]));
|
||||
assert!(paths::is_path_start(p));
|
||||
let m = p.start();
|
||||
paths::expr_path(p);
|
||||
match p.current() {
|
||||
|
||||
Reference in New Issue
Block a user