[][src]Function syntax::print::pprust::token_kind_to_string

pub fn token_kind_to_string(tok: &TokenKind) -> String
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Print the token kind precisely, without converting $crate into its respective crate name.