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