Skip to content

Commit 572a872

Browse files
Don't allow 'r#kw'
1 parent 87de93c commit 572a872

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tokens.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ r[lex.token.life.syntax]
770770
>
771771
> RAW_LIFETIME :\
772772
>       `'r#` [IDENTIFIER_OR_KEYWORD][identifier]
773+
> _(not immediately followed by `'`)_
773774
774775
r[lex.token.life.intro]
775776
Lifetime parameters and [loop labels] use LIFETIME_OR_LABEL tokens. Any

0 commit comments

Comments
 (0)