Function span_setter

Source
pub fn span_setter<T>(span: Span) -> impl Fn(T) -> T
where T: SetSpan,
Expand description

Generate a function, set input TokenTree span