mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
13 lines
261 B
Rust
13 lines
261 B
Rust
// More checks that stability attributes are used correctly
|
|
|
|
#![feature(staged_api)]
|
|
|
|
#![stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
#[macro_export]
|
|
macro_rules! mac { //~ ERROR macro has missing stability attribute
|
|
() => ()
|
|
}
|
|
|
|
fn main() { }
|