Function syntax::parse::parser::can_continue_type_after_non_fn_ident[][src]

fn can_continue_type_after_non_fn_ident(t: &Token) -> bool
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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