]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/stability-attribute-sanity-3.rs
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
[rust.git] / tests / 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() { }