]> git.lizzy.rs Git - rust.git/blob - src/test/ui/explore-issue-38412.stderr
Auto merge of #65421 - estebank:variants, r=petrochenkov
[rust.git] / src / test / ui / explore-issue-38412.stderr
1 error[E0658]: use of unstable library feature 'unstable_undeclared'
2   --> $DIR/explore-issue-38412.rs:21:63
3    |
4 LL |     let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
5    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
8    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
9
10 error[E0658]: use of unstable library feature 'unstable_undeclared'
11   --> $DIR/explore-issue-38412.rs:30:5
12    |
13 LL |     r.a_unstable_undeclared_pub;
14    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
17    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
18
19 error[E0616]: field `b_crate` of struct `pub_and_stability::Record` is private
20   --> $DIR/explore-issue-38412.rs:31:5
21    |
22 LL |     r.b_crate;
23    |     ^^^^^^^^^
24
25 error[E0616]: field `c_mod` of struct `pub_and_stability::Record` is private
26   --> $DIR/explore-issue-38412.rs:32:5
27    |
28 LL |     r.c_mod;
29    |     ^^^^^^^
30
31 error[E0616]: field `d_priv` of struct `pub_and_stability::Record` is private
32   --> $DIR/explore-issue-38412.rs:33:5
33    |
34 LL |     r.d_priv;
35    |     ^^^^^^^^
36
37 error[E0658]: use of unstable library feature 'unstable_undeclared'
38   --> $DIR/explore-issue-38412.rs:37:5
39    |
40 LL |     t.2;
41    |     ^^^
42    |
43    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
44    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
45
46 error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private
47   --> $DIR/explore-issue-38412.rs:38:5
48    |
49 LL |     t.3;
50    |     ^^^
51
52 error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private
53   --> $DIR/explore-issue-38412.rs:39:5
54    |
55 LL |     t.4;
56    |     ^^^
57
58 error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private
59   --> $DIR/explore-issue-38412.rs:40:5
60    |
61 LL |     t.5;
62    |     ^^^
63
64 error[E0658]: use of unstable library feature 'unstable_undeclared'
65   --> $DIR/explore-issue-38412.rs:44:7
66    |
67 LL |     r.unstable_undeclared_trait_method();
68    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69    |
70    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
71    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
72
73 error[E0658]: use of unstable library feature 'unstable_undeclared'
74   --> $DIR/explore-issue-38412.rs:48:7
75    |
76 LL |     r.unstable_undeclared();
77    |       ^^^^^^^^^^^^^^^^^^^
78    |
79    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
80    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
81
82 error[E0624]: method `pub_crate` is private
83   --> $DIR/explore-issue-38412.rs:50:7
84    |
85 LL |     r.pub_crate();
86    |       ^^^^^^^^^
87
88 error[E0624]: method `pub_mod` is private
89   --> $DIR/explore-issue-38412.rs:51:7
90    |
91 LL |     r.pub_mod();
92    |       ^^^^^^^
93
94 error[E0624]: method `private` is private
95   --> $DIR/explore-issue-38412.rs:52:7
96    |
97 LL |     r.private();
98    |       ^^^^^^^
99
100 error[E0658]: use of unstable library feature 'unstable_undeclared'
101   --> $DIR/explore-issue-38412.rs:57:7
102    |
103 LL |     t.unstable_undeclared_trait_method();
104    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105    |
106    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
107    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
108
109 error[E0658]: use of unstable library feature 'unstable_undeclared'
110   --> $DIR/explore-issue-38412.rs:61:7
111    |
112 LL |     t.unstable_undeclared();
113    |       ^^^^^^^^^^^^^^^^^^^
114    |
115    = note: for more information, see https://github.com/rust-lang/rust/issues/38412
116    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
117
118 error[E0624]: method `pub_crate` is private
119   --> $DIR/explore-issue-38412.rs:63:7
120    |
121 LL |     t.pub_crate();
122    |       ^^^^^^^^^
123
124 error[E0624]: method `pub_mod` is private
125   --> $DIR/explore-issue-38412.rs:64:7
126    |
127 LL |     t.pub_mod();
128    |       ^^^^^^^
129
130 error[E0624]: method `private` is private
131   --> $DIR/explore-issue-38412.rs:65:7
132    |
133 LL |     t.private();
134    |       ^^^^^^^
135
136 error: aborting due to 19 previous errors
137
138 Some errors have detailed explanations: E0616, E0624, E0658.
139 For more information about an error, try `rustc --explain E0616`.