Function proc_macro::quote_span
source · [−]pub fn quote_span(proc_macro_crate: TokenStream, span: Span) -> TokenStream
Expand description
Quote a Span
into a TokenStream
.
This is needed to implement a custom quoter.
pub fn quote_span(proc_macro_crate: TokenStream, span: Span) -> TokenStream
Quote a Span
into a TokenStream
.
This is needed to implement a custom quoter.