Skip to content

Commit 8bb6876

Browse files
committed
Fix labels missing the colon token in rust ungrammar
1 parent 9e4810f commit 8bb6876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/lib/ungrammar/rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ WhileExpr =
453453
loop_body:BlockExpr
454454

455455
Label =
456-
'lifetime'
456+
'lifetime' ':'
457457

458458
BreakExpr =
459459
Attr* 'break' 'lifetime'? Expr?

0 commit comments

Comments
 (0)