]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/stability-attribute-sanity-3.rs
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / stability-attribute / stability-attribute-sanity-3.rs
1 // More checks that stability attributes are used correctly
2
3 #![feature(staged_api)]
4
5 #![stable(feature = "stable_test_feature", since = "1.0.0")]
6
7 #[macro_export]
8 macro_rules! mac { //~ ERROR macro has missing stability attribute
9     () => ()
10 }
11
12 fn main() { }