]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / feature-gate / issue-43106-gating-of-unstable.stderr
CommitLineData
ff7c6d11
XL
1error[E0601]: main function not found
2
3error: stability attributes may not be used outside of the standard library
4 --> $DIR/issue-43106-gating-of-unstable.rs:17:1
5 |
617 | #![unstable = "1200"]
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
9error: stability attributes may not be used outside of the standard library
10 --> $DIR/issue-43106-gating-of-unstable.rs:20:1
11 |
1220 | #[unstable = "1200"]
13 | ^^^^^^^^^^^^^^^^^^^^
14
15error: stability attributes may not be used outside of the standard library
16 --> $DIR/issue-43106-gating-of-unstable.rs:23:17
17 |
1823 | mod inner { #![unstable="1200"] }
19 | ^^^^^^^^^^^^^^^^^^^
20
21error: stability attributes may not be used outside of the standard library
22 --> $DIR/issue-43106-gating-of-unstable.rs:26:5
23 |
2426 | #[unstable = "1200"] fn f() { }
25 | ^^^^^^^^^^^^^^^^^^^^
26
27error: stability attributes may not be used outside of the standard library
28 --> $DIR/issue-43106-gating-of-unstable.rs:29:5
29 |
3029 | #[unstable = "1200"] struct S;
31 | ^^^^^^^^^^^^^^^^^^^^
32
33error: stability attributes may not be used outside of the standard library
34 --> $DIR/issue-43106-gating-of-unstable.rs:32:5
35 |
3632 | #[unstable = "1200"] type T = S;
37 | ^^^^^^^^^^^^^^^^^^^^
38
39error: stability attributes may not be used outside of the standard library
40 --> $DIR/issue-43106-gating-of-unstable.rs:35:5
41 |
4235 | #[unstable = "1200"] impl S { }
43 | ^^^^^^^^^^^^^^^^^^^^
44
2c00a5a8 45error: aborting due to 8 previous errors
ff7c6d11 46