os-rust/tests/ui/stability-attribute/stability-attribute-sanity-3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
261 B
Rust
Raw Normal View History

// More checks that stability attributes are used correctly
#![feature(staged_api)]
2018-07-23 12:22:23 +01:00
#![stable(feature = "stable_test_feature", since = "1.0.0")]
#[macro_export]
macro_rules! mac { //~ ERROR macro has missing stability attribute
() => ()
}
fn main() { }