1error[E0734]: stability attributes may not be used outside of the standard library 2 --> $DIR/feature-gate-staged_api.rs:1:1 3 | 4LL | #![stable(feature = "a", since = "b")] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 7error[E0734]: stability attributes may not be used outside of the standard library 8 --> $DIR/feature-gate-staged_api.rs:8:1 9 | 10LL | #[stable(feature = "a", since = "b")] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0734`. 16