1 error[E0601]: main function not found
3 error: stability attributes may not be used outside of the standard library
4 --> $DIR/issue-43106-gating-of-stable.rs:17:1
6 17 | #![stable = "1300"]
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 error: stability attributes may not be used outside of the standard library
10 --> $DIR/issue-43106-gating-of-stable.rs:20:1
12 20 | #[stable = "1300"]
15 error: stability attributes may not be used outside of the standard library
16 --> $DIR/issue-43106-gating-of-stable.rs:23:17
18 23 | mod inner { #![stable="1300"] }
21 error: stability attributes may not be used outside of the standard library
22 --> $DIR/issue-43106-gating-of-stable.rs:26:5
24 26 | #[stable = "1300"] fn f() { }
27 error: stability attributes may not be used outside of the standard library
28 --> $DIR/issue-43106-gating-of-stable.rs:29:5
30 29 | #[stable = "1300"] struct S;
33 error: stability attributes may not be used outside of the standard library
34 --> $DIR/issue-43106-gating-of-stable.rs:32:5
36 32 | #[stable = "1300"] type T = S;
39 error: stability attributes may not be used outside of the standard library
40 --> $DIR/issue-43106-gating-of-stable.rs:35:5
42 35 | #[stable = "1300"] impl S { }
45 error: aborting due to 8 previous errors