Macros to erase scope information from tokens.
#![forbid(unsafe_code)]
fn main() {
let ptr = 1337 as *const i32;
let value = respan::call_site! {
unsafe { *ptr }
};
println!("{}", value);
}
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.