Stability checking for macro_rules! was fixed in #48524, but uses of declarative macros 2.0 (macro items) are still not checked for stability.
ORIGINAL ISSUE:
Why does this compile?
fn main() {
__thread_local_inner!(i32, 42);
}
__thread_local_inner is marked #[unstable(...)] #[allow_internal_unstable].
Stability checking for
macro_rules!was fixed in #48524, but uses of declarative macros 2.0 (macroitems) are still not checked for stability.ORIGINAL ISSUE:
Why does this compile?
__thread_local_inneris marked#[unstable(...)] #[allow_internal_unstable].