summary refs log tree commit diff
path: root/src/test/ui/stability-attribute/stability-attribute-sanity-3.rs
blob: 0c132e8857550e9f0d60867f3ca9797c3d4eeb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 This node does not have a stability attribute
    () => ()
}

fn main() { }