Rename ModSep to PathSep

This commit is contained in:
León Orell Valerian Liehr 2024-04-04 19:03:32 +02:00
parent 5dbaafdb93
commit 3cbc9e9560
No known key found for this signature in database
GPG key ID: D17A07215F68E713
13 changed files with 44 additions and 42 deletions

View file

@ -1016,7 +1016,7 @@ impl<'a> Parser<'a> {
&& self.look_ahead(1, |t| !matches!(t.kind, token::OpenDelim(Delimiter::Parenthesis) // A tuple struct pattern.
| token::OpenDelim(Delimiter::Brace) // A struct pattern.
| token::DotDotDot | token::DotDotEq | token::DotDot // A range pattern.
| token::ModSep // A tuple / struct variant pattern.
| token::PathSep // A tuple / struct variant pattern.
| token::Not)) // A macro expanding to a pattern.
}