proc_macro

Function quote

source
pub fn quote(stream: TokenStream) -> TokenStream
🔬This is a nightly-only experimental API. (proc_macro_quote #54722)
Expand description

Quote a TokenStream into a TokenStream. This is the actual implementation of the quote!() proc macro.

It is loaded by the compiler in register_builtin_macros.