1 error: macros cannot have const stability attributes
2 --> $DIR/const-stability-on-macro.rs:4:1
4 LL | #[rustc_const_stable(feature = "foo", since = "0")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid const stability attribute
7 LL | macro_rules! foo {
8 | ---------------- const stability attribute affects this macro
10 error: macros cannot have const stability attributes
11 --> $DIR/const-stability-on-macro.rs:10:1
13 LL | #[rustc_const_unstable(feature = "bar", issue="none")]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid const stability attribute
16 LL | macro_rules! bar {
17 | ---------------- const stability attribute affects this macro
19 error: aborting due to 2 previous errors