File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -642,12 +642,17 @@ Examples of reserved forms:
642
642
> _ (not immediately followed by ` ' ` )_ \
643
643
>   ;  ; | ` '_ `
644
644
> _ (not immediately followed by ` ' ` )_
645
+ >   ;  ; | RAW_LIFETIME
645
646
>
646
647
> LIFETIME_OR_LABEL :\
647
648
>   ;  ;   ;  ; ` ' ` [ NON_KEYWORD_IDENTIFIER] [ identifier ]
648
649
> _ (not immediately followed by ` ' ` )_ \
649
650
>   ;  ; | ` '_ `
650
651
> _ (not immediately followed by ` ' ` )_
652
+ >   ;  ; | RAW_LIFETIME
653
+ >
654
+ > RAW_LIFETIME :\
655
+ >   ;  ;   ;  ; ` 'r# ` [ IDENTIFIER_OR_KEYWORD] [ identifier ]
651
656
652
657
Lifetime parameters and [ loop labels] use LIFETIME_OR_LABEL tokens. Any
653
658
LIFETIME_TOKEN will be accepted by the lexer, and for example, can be used in
You can’t perform that action at this time.
0 commit comments