1 error[E0734]: stability attributes may not be used outside of the standard library
2 --> $DIR/issue-43106-gating-of-stable.rs:7:1
7 error[E0734]: stability attributes may not be used outside of the standard library
8 --> $DIR/issue-43106-gating-of-stable.rs:10:1
13 error[E0734]: stability attributes may not be used outside of the standard library
14 --> $DIR/issue-43106-gating-of-stable.rs:13:17
16 LL | mod inner { #![stable()] }
19 error[E0734]: stability attributes may not be used outside of the standard library
20 --> $DIR/issue-43106-gating-of-stable.rs:16:5
22 LL | #[stable()] fn f() { }
25 error[E0734]: stability attributes may not be used outside of the standard library
26 --> $DIR/issue-43106-gating-of-stable.rs:19:5
28 LL | #[stable()] struct S;
31 error[E0734]: stability attributes may not be used outside of the standard library
32 --> $DIR/issue-43106-gating-of-stable.rs:19:5
34 LL | #[stable()] struct S;
37 error[E0734]: stability attributes may not be used outside of the standard library
38 --> $DIR/issue-43106-gating-of-stable.rs:23:5
40 LL | #[stable()] type T = S;
43 error[E0734]: stability attributes may not be used outside of the standard library
44 --> $DIR/issue-43106-gating-of-stable.rs:26:5
46 LL | #[stable()] impl S { }
49 error: aborting due to 8 previous errors
51 For more information about this error, try `rustc --explain E0734`.