2016-11-10 19:08:21 +02:00
|
|
|
// More checks that stability attributes are used correctly
|
2014-01-27 15:28:04 +11:00
|
|
|
|
2016-11-10 19:08:21 +02:00
|
|
|
#![feature(staged_api)]
|
2014-01-27 15:28:04 +11:00
|
|
|
|
2018-07-23 12:22:23 +01:00
|
|
|
#![stable(feature = "stable_test_feature", since = "1.0.0")]
|
2013-11-07 18:49:01 +11:00
|
|
|
|
2016-11-10 19:08:21 +02:00
|
|
|
#[macro_export]
|
2019-02-07 16:38:23 +01:00
|
|
|
macro_rules! mac { //~ ERROR macro has missing stability attribute
|
2016-11-10 19:08:21 +02:00
|
|
|
() => ()
|
2013-11-07 18:49:01 +11:00
|
|
|
}
|
|
|
|
|
2016-11-10 19:08:21 +02:00
|
|
|
fn main() { }
|