Rename ModSep to PathSep
This commit is contained in:
parent
5dbaafdb93
commit
3cbc9e9560
13 changed files with 44 additions and 42 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue