fn can_continue_type_after_non_fn_ident(t: &Token) -> bool
Expand description
Returns true
if IDENT t
can start a type – IDENT::a::b
, IDENT<u8, u8>
,
IDENT<<u8 as Trait>::AssocTy>
.
Types can also be of the form IDENT(u8, u8) -> u8
, however this assumes
that IDENT
is not the ident of a fn trait.