]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / feature-gate / issue-43106-gating-of-stable.stderr
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-stable.rs:17:1
5 |
6 17 | #![stable = "1300"]
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
9 error: stability attributes may not be used outside of the standard library
10 --> $DIR/issue-43106-gating-of-stable.rs:20:1
11 |
12 20 | #[stable = "1300"]
13 | ^^^^^^^^^^^^^^^^^^
14
15 error: stability attributes may not be used outside of the standard library
16 --> $DIR/issue-43106-gating-of-stable.rs:23:17
17 |
18 23 | mod inner { #![stable="1300"] }
19 | ^^^^^^^^^^^^^^^^^
20
21 error: stability attributes may not be used outside of the standard library
22 --> $DIR/issue-43106-gating-of-stable.rs:26:5
23 |
24 26 | #[stable = "1300"] fn f() { }
25 | ^^^^^^^^^^^^^^^^^^
26
27 error: stability attributes may not be used outside of the standard library
28 --> $DIR/issue-43106-gating-of-stable.rs:29:5
29 |
30 29 | #[stable = "1300"] struct S;
31 | ^^^^^^^^^^^^^^^^^^
32
33 error: stability attributes may not be used outside of the standard library
34 --> $DIR/issue-43106-gating-of-stable.rs:32:5
35 |
36 32 | #[stable = "1300"] type T = S;
37 | ^^^^^^^^^^^^^^^^^^
38
39 error: stability attributes may not be used outside of the standard library
40 --> $DIR/issue-43106-gating-of-stable.rs:35:5
41 |
42 35 | #[stable = "1300"] impl S { }
43 | ^^^^^^^^^^^^^^^^^^
44
45 error: aborting due to 8 previous errors
46