1 error: stability attributes may not be used outside of the standard library
2 --> $DIR/feature-gate-staged_api.rs:11:1
4 LL | #![stable(feature = "a", since = "b")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: stability attributes may not be used outside of the standard library
8 --> $DIR/feature-gate-staged_api.rs:18:1
10 LL | #[stable(feature = "a", since = "b")]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors