Tweak wording
This commit is contained in:
parent
38fd5a9acf
commit
698ebe357f
14 changed files with 94 additions and 39 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue