Function syntax::parse::token::is_used_keyword
[−]
[src]
pub fn is_used_keyword(id: Ident) -> 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 the token is a keyword used in the language.