]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/stability-attribute-sanity-3.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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() { }