bang-style 限定だが、
macro_rules! foo {
($($t:tt)*) => {{
use $crate::imp as _foo_imp;
foo_imp!($($t)*)
}}
}
みたいに手続き的マクロの呼び出し側で回避する方針をとったことがある
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
bang-style 限定だが、
macro_rules! foo {
($($t:tt)*) => {{
use $crate::imp as _foo_imp;
foo_imp!($($t)*)
}}
}
みたいに手続き的マクロの呼び出し側で回避する方針をとったことがある