Rollup merge of #147066 - SimonSapin:macro_attr-tracking, r=lqd

Fix tracking issue number for feature(macro_attr)

The ability to define an attribute macro with `macro_rules!` is tracked at https://github.com/rust-lang/rust/issues/143547, not https://github.com/rust-lang/rust/issues/83527
This commit is contained in:
Matthias Krüger 2025-09-28 09:15:26 +02:00 committed by GitHub
commit 194bd775cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -550,7 +550,7 @@ declare_features! (
/// Allows fused `loop`/`match` for direct intraprocedural jumps.
(incomplete, loop_match, "1.90.0", Some(132306)),
/// Allow `macro_rules!` attribute rules
(unstable, macro_attr, "1.91.0", Some(83527)),
(unstable, macro_attr, "1.91.0", Some(143547)),
/// Allow `macro_rules!` derive rules
(unstable, macro_derive, "1.91.0", Some(143549)),
/// Give access to additional metadata about declarative macro meta-variables.

View file

@ -4,7 +4,7 @@ error[E0658]: `macro_rules!` attributes are unstable
LL | macro_rules! myattr { attr() {} => {} }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #83527 <https://github.com/rust-lang/rust/issues/83527> for more information
= note: see issue #143547 <https://github.com/rust-lang/rust/issues/143547> for more information
= help: add `#![feature(macro_attr)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date