Merge pull request #18608 from Veykril/push-rrozmpnyknkx

Better parser recovery for paths
This commit is contained in:
Lukas Wirth 2024-12-04 06:18:39 +00:00 committed by GitHub
commit ab652f7795
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 154 additions and 40 deletions

View file

@ -1759,8 +1759,9 @@ fn f() {
// NAME_REF@6..7
// IDENT@6..7 "K"
// COLON2@7..9 "::"
// ERROR@9..10
// L_PAREN@9..10 "("
// PATH_SEGMENT@9..10
// ERROR@9..10
// L_PAREN@9..10 "("
// EXPR_STMT@10..16
// CALL_EXPR@10..16
// PATH_EXPR@10..11