1 #![feature(staged_api)]
2 //~^ ERROR module has missing stability attribute
4 #[stable(feature = "a", since = "1")]
7 #[unstable(feature = "b", issue = "none")]
10 #[stable(feature = "c", since = "1")]
13 #[unstable(feature = "d", issue = "none")]
14 trait UnstableTrait {}
16 #[unstable(feature = "e", issue = "none")]
17 impl UnstableTrait for UnstableType {}
19 #[unstable(feature = "f", issue = "none")]
20 impl StableTrait for UnstableType {}
22 #[unstable(feature = "g", issue = "none")]
23 impl UnstableTrait for StableType {}
25 #[unstable(feature = "h", issue = "none")]
26 //~^ ERROR an `#[unstable]` annotation here has no effect [ineffective_unstable_trait_impl]
27 impl StableTrait for StableType {}