]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #![feature(staged_api)] |
2 | #![stable(feature = "rust1", since = "1.0.0")] | |
3 | ||
ed00b5ec | 4 | #[rustc_const_stable(feature = "foo", since = "3.3.3")] |
6a06907d XL |
5 | //~^ ERROR macros cannot have const stability attributes |
6 | macro_rules! foo { | |
7 | () => {}; | |
8 | } | |
9 | ||
10 | #[rustc_const_unstable(feature = "bar", issue="none")] | |
11 | //~^ ERROR macros cannot have const stability attributes | |
12 | macro_rules! bar { | |
13 | () => {}; | |
14 | } | |
15 | ||
16 | fn main() {} |