fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: macros cannot have const stability attributes 2 --> $DIR/const-stability-on-macro.rs:4:1 3 | 4LL | #[rustc_const_stable(feature = "foo", since = "0")] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid const stability attribute 6LL | 7LL | macro_rules! foo { 8 | ---------------- const stability attribute affects this macro 9 10error: macros cannot have const stability attributes 11 --> $DIR/const-stability-on-macro.rs:10:1 12 | 13LL | #[rustc_const_unstable(feature = "bar", issue="none")] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid const stability attribute 15LL | 16LL | macro_rules! bar { 17 | ---------------- const stability attribute affects this macro 18 19error: aborting due to 2 previous errors 20