1
Fork 0

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

@ -82,7 +82,7 @@ enum AllowCVariadic {
/// Types can also be of the form `IDENT(u8, u8) -> u8`, however this assumes
/// that `IDENT` is not the ident of a fn trait.
fn can_continue_type_after_non_fn_ident(t: &Token) -> bool {
t == &token::ModSep || t == &token::Lt || t == &token::BinOp(token::Shl)
t == &token::PathSep || t == &token::Lt || t == &token::BinOp(token::Shl)
}
fn can_begin_dyn_bound_in_edition_2015(t: &Token) -> bool {