diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar/expressions/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/expressions/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/expressions/mod.rs b/crates/libsyntax2/src/grammar/expressions/mod.rs index 30a78d0c4..e56f3d30e 100644 --- a/crates/libsyntax2/src/grammar/expressions/mod.rs +++ b/crates/libsyntax2/src/grammar/expressions/mod.rs | |||
@@ -332,7 +332,7 @@ fn arg_list(p: &mut Parser) { | |||
332 | // let _ = format!(); | 332 | // let _ = format!(); |
333 | // } | 333 | // } |
334 | fn path_expr(p: &mut Parser, r: Restrictions) -> CompletedMarker { | 334 | fn path_expr(p: &mut Parser, r: Restrictions) -> CompletedMarker { |
335 | assert!(paths::is_path_start(p)); | 335 | assert!(paths::is_path_start(p) || p.at(L_ANGLE)); |
336 | let m = p.start(); | 336 | let m = p.start(); |
337 | paths::expr_path(p); | 337 | paths::expr_path(p); |
338 | match p.current() { | 338 | match p.current() { |