Skip to content

Commit df53c5e

Browse files
compiler-errorsehuss
authored andcommitted
Don't allow 'r#kw'
1 parent ef87ed6 commit df53c5e

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
@@ -768,6 +768,7 @@ r[lex.token.life.syntax]
768768
>
769769
> RAW_LIFETIME :\
770770
>       `'r#` [IDENTIFIER_OR_KEYWORD][identifier]
771+
> _(not immediately followed by `'`)_
771772
772773
r[lex.token.life.intro]
773774
Lifetime parameters and [loop labels] use LIFETIME_OR_LABEL tokens. Any

0 commit comments

Comments
 (0)