File tree 5 files changed +4
-3
lines changed
5 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7672,7 +7672,8 @@ impl<'a> Parser<'a> {
7672
7672
& mut self . token_cursor . frame . last_token
7673
7673
} else if self . token_cursor . stack . get ( prev) . is_none ( ) {
7674
7674
// This can happen due to a bad interaction of two unrelated recovery mechanisms with
7675
- // mismatched delimiters *and* recovery lookahead on `pub ident(` likely typo (#62881)
7675
+ // mismatched delimiters *and* recovery lookahead on the likely typo `pub ident(`
7676
+ // (#62881).
7676
7677
return Ok ( ( ret?, TokenStream :: new ( vec ! [ ] ) ) ) ;
7677
7678
} else {
7678
7679
& mut self . token_cursor . stack [ prev] . last_token
@@ -7686,8 +7687,8 @@ impl<'a> Parser<'a> {
7686
7687
debug ! ( "collect_tokens: {}" , msg) ;
7687
7688
self . sess . span_diagnostic . delay_span_bug ( self . token . span , & msg) ;
7688
7689
// This can happen due to a bad interaction of two unrelated recovery mechanisms
7689
- // with mismatched delimiters *and* recovery lookahead on `pub ident(` likely typo
7690
- // ( #62895, different but similar to the case above)
7690
+ // with mismatched delimiters *and* recovery lookahead on the likely typo
7691
+ // `pub ident(` ( #62895, different but similar to the case above).
7691
7692
return Ok ( ( ret?, TokenStream :: new ( vec ! [ ] ) ) ) ;
7692
7693
}
7693
7694
} ;
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