-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Labels
A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)Area: Declarative macros 2.0 (#39412)A-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.Category: This is a bug.
Description
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]
.
Metadata
Metadata
Assignees
Labels
A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)Area: Declarative macros 2.0 (#39412)A-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.Category: This is a bug.