Skip to content

Commit e718896

Browse files
Don't allow 'r#kw'
1 parent a65b4b5 commit e718896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tokens.md

+1
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ Examples of reserved forms:
653653
>
654654
> RAW_LIFETIME :\
655655
>       `'r#` [IDENTIFIER_OR_KEYWORD][identifier]
656+
> _(not immediately followed by `'`)_
656657
657658
Lifetime parameters and [loop labels] use LIFETIME_OR_LABEL tokens. Any
658659
LIFETIME_TOKEN will be accepted by the lexer, and for example, can be used in

0 commit comments

Comments
 (0)