1 // #![feature(staged_api)] // note: `staged_api` not enabled
3 #![stable(feature = "foo", since = "1.0.0")]
4 //~^ ERROR stability attributes may not be used outside of the standard library
6 #[unstable(feature = "foo", issue = "none")]
7 //~^ ERROR stability attributes may not be used outside of the standard library