proc_macro

Function quote_span

source
pub fn quote_span(proc_macro_crate: TokenStream, span: Span) -> TokenStream
🔬This is a nightly-only experimental API. (proc_macro_quote #54722)
Expand description

Quote a Span into a TokenStream. This is needed to implement a custom quoter.