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