]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-unstable.stderr
Rollup merge of #94384 - cuviper:atomic-slice, r=dtolnay
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-unstable.stderr
1 error[E0734]: stability attributes may not be used outside of the standard library
2   --> $DIR/issue-43106-gating-of-unstable.rs:7:1
3    |
4 LL | #![unstable()]
5    | ^^^^^^^^^^^^^^
6
7 error[E0734]: stability attributes may not be used outside of the standard library
8   --> $DIR/issue-43106-gating-of-unstable.rs:10:1
9    |
10 LL | #[unstable()]
11    | ^^^^^^^^^^^^^
12
13 error[E0734]: stability attributes may not be used outside of the standard library
14   --> $DIR/issue-43106-gating-of-unstable.rs:13:17
15    |
16 LL |     mod inner { #![unstable()] }
17    |                 ^^^^^^^^^^^^^^
18
19 error[E0734]: stability attributes may not be used outside of the standard library
20   --> $DIR/issue-43106-gating-of-unstable.rs:16:5
21    |
22 LL |     #[unstable()] fn f() { }
23    |     ^^^^^^^^^^^^^
24
25 error[E0734]: stability attributes may not be used outside of the standard library
26   --> $DIR/issue-43106-gating-of-unstable.rs:19:5
27    |
28 LL |     #[unstable()] struct S;
29    |     ^^^^^^^^^^^^^
30
31 error[E0734]: stability attributes may not be used outside of the standard library
32   --> $DIR/issue-43106-gating-of-unstable.rs:19:5
33    |
34 LL |     #[unstable()] struct S;
35    |     ^^^^^^^^^^^^^
36
37 error[E0734]: stability attributes may not be used outside of the standard library
38   --> $DIR/issue-43106-gating-of-unstable.rs:23:5
39    |
40 LL |     #[unstable()] type T = S;
41    |     ^^^^^^^^^^^^^
42
43 error[E0734]: stability attributes may not be used outside of the standard library
44   --> $DIR/issue-43106-gating-of-unstable.rs:26:5
45    |
46 LL |     #[unstable()] impl S { }
47    |     ^^^^^^^^^^^^^
48
49 error: aborting due to 8 previous errors
50
51 For more information about this error, try `rustc --explain E0734`.