Macro parse_quote_spanned
macro_rules! parse_quote_spanned {
($span:expr=> $($tt:tt)*) => { ... };
}
This macro is [parse_quote!] + [quote_spanned!][quote::quote_spanned].
Please refer to each of their documentation.
Example
use ;
use Spanned;
use ;
// Changes `fn()` to `fn() -> Pin<Box<dyn Future<Output = ()>>>`,
// and `fn() -> T` to `fn() -> Pin<Box<dyn Future<Output = T>>>`,
// without introducing any call_site() spans.