]>
Commit | Line | Data |
---|---|---|
ff7c6d11 XL |
1 | error[E0601]: main function not found |
2 | ||
3 | error: stability attributes may not be used outside of the standard library | |
4 | --> $DIR/issue-43106-gating-of-unstable.rs:17:1 | |
5 | | | |
6 | 17 | #![unstable = "1200"] | |
7 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
8 | ||
9 | error: stability attributes may not be used outside of the standard library | |
10 | --> $DIR/issue-43106-gating-of-unstable.rs:20:1 | |
11 | | | |
12 | 20 | #[unstable = "1200"] | |
13 | | ^^^^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: stability attributes may not be used outside of the standard library | |
16 | --> $DIR/issue-43106-gating-of-unstable.rs:23:17 | |
17 | | | |
18 | 23 | mod inner { #![unstable="1200"] } | |
19 | | ^^^^^^^^^^^^^^^^^^^ | |
20 | ||
21 | error: stability attributes may not be used outside of the standard library | |
22 | --> $DIR/issue-43106-gating-of-unstable.rs:26:5 | |
23 | | | |
24 | 26 | #[unstable = "1200"] fn f() { } | |
25 | | ^^^^^^^^^^^^^^^^^^^^ | |
26 | ||
27 | error: stability attributes may not be used outside of the standard library | |
28 | --> $DIR/issue-43106-gating-of-unstable.rs:29:5 | |
29 | | | |
30 | 29 | #[unstable = "1200"] struct S; | |
31 | | ^^^^^^^^^^^^^^^^^^^^ | |
32 | ||
33 | error: stability attributes may not be used outside of the standard library | |
34 | --> $DIR/issue-43106-gating-of-unstable.rs:32:5 | |
35 | | | |
36 | 32 | #[unstable = "1200"] type T = S; | |
37 | | ^^^^^^^^^^^^^^^^^^^^ | |
38 | ||
39 | error: stability attributes may not be used outside of the standard library | |
40 | --> $DIR/issue-43106-gating-of-unstable.rs:35:5 | |
41 | | | |
42 | 35 | #[unstable = "1200"] impl S { } | |
43 | | ^^^^^^^^^^^^^^^^^^^^ | |
44 | ||
2c00a5a8 | 45 | error: aborting due to 8 previous errors |
ff7c6d11 | 46 |