[][src]Function rustc_parse::parser::ty::can_continue_type_after_non_fn_ident

fn can_continue_type_after_non_fn_ident(t: &Token) -> bool

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.