Function syntax::parse::token::str_to_ident [] [src]

pub fn str_to_ident(s: &str) -> Ident
Unstable (rustc_private)

Maps a string to an identifier with an empty syntax context.