Skip to content

Commit 912a6d5

Browse files
committed
Clarify raw lifetime cannot be certain keywords
Update for rust-lang/rust#132363
1 parent 5c0c306 commit 912a6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tokens.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ r[lex.token.life.syntax]
767767
>    | RAW_LIFETIME
768768
>
769769
> RAW_LIFETIME :\
770-
>    `'r#` [IDENTIFIER_OR_KEYWORD][identifier]
770+
> &nbsp;&nbsp; `'r#` [IDENTIFIER_OR_KEYWORD][identifier] <sub>*Except `crate`, `self`, `super`, `Self`*</sub>
771771
> _(not immediately followed by `'`)_
772772
773773
r[lex.token.life.intro]

0 commit comments

Comments
 (0)