quote_spanned_use!() { /* proc-macro */ }
Expand description

Like quote_use! but using quote_spanned!

quote_spanned_use! {span=>
    # use std::fs::read;

    read("src/main.rs")

    Some(20)
}