File tree Expand file tree Collapse file tree 5 files changed +4
-3
lines changed Expand file tree Collapse file tree 5 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7718,7 +7718,8 @@ impl<'a> Parser<'a> {
7718
7718
& mut self . token_cursor . frame . last_token
7719
7719
} else if self . token_cursor . stack . get ( prev) . is_none ( ) {
7720
7720
// This can happen due to a bad interaction of two unrelated recovery mechanisms with
7721
- // mismatched delimiters *and* recovery lookahead on `pub ident(` likely typo (#62881)
7721
+ // mismatched delimiters *and* recovery lookahead on the likely typo `pub ident(`
7722
+ // (#62881).
7722
7723
return Ok ( ( ret?, TokenStream :: new ( vec ! [ ] ) ) ) ;
7723
7724
} else {
7724
7725
& mut self . token_cursor . stack [ prev] . last_token
@@ -7732,8 +7733,8 @@ impl<'a> Parser<'a> {
7732
7733
debug ! ( "collect_tokens: {}" , msg) ;
7733
7734
self . sess . span_diagnostic . delay_span_bug ( self . token . span , & msg) ;
7734
7735
// This can happen due to a bad interaction of two unrelated recovery mechanisms
7735
- // with mismatched delimiters *and* recovery lookahead on `pub ident(` likely typo
7736
- // ( #62895, different but similar to the case above)
7736
+ // with mismatched delimiters *and* recovery lookahead on the likely typo
7737
+ // `pub ident(` ( #62895, different but similar to the case above).
7737
7738
return Ok ( ( ret?, TokenStream :: new ( vec ! [ ] ) ) ) ;
7738
7739
}
7739
7740
} ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments