Tweak wording

This commit is contained in:
Esteban Küber 2022-12-28 18:46:20 -08:00
parent 38fd5a9acf
commit 698ebe357f
14 changed files with 94 additions and 39 deletions

View file

@ -537,7 +537,7 @@ impl<'a> Parser<'a> {
break;
}
if self.is_diff_marker(&TokenKind::BinOp(token::Shl), &TokenKind::Lt) {
// Account for `<<<<<<<` diff markers. We can't proactivelly error here because
// Account for `<<<<<<<` diff markers. We can't proactively error here because
// that can be a valid path start, so we snapshot and reparse only we've
// encountered another parse error.
snapshot = Some(self.create_snapshot_for_diagnostic());