]> git.lizzy.rs Git - rust.git/blob - tests/ui/explore-issue-38412.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / ui / explore-issue-38412.stderr
1 error[E0658]: use of unstable library feature 'unstable_undeclared'
2   --> $DIR/explore-issue-38412.rs:19:63
3    |
4 LL |     let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
5    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
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:28:5
12    |
13 LL |     r.a_unstable_undeclared_pub;
14    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
17    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
18
19 error[E0616]: field `b_crate` of struct `Record` is private
20   --> $DIR/explore-issue-38412.rs:29:7
21    |
22 LL |     r.b_crate;
23    |       ^^^^^^^ private field
24
25 error[E0616]: field `c_mod` of struct `Record` is private
26   --> $DIR/explore-issue-38412.rs:30:7
27    |
28 LL |     r.c_mod;
29    |       ^^^^^ private field
30
31 error[E0616]: field `d_priv` of struct `Record` is private
32   --> $DIR/explore-issue-38412.rs:31:7
33    |
34 LL |     r.d_priv;
35    |       ^^^^^^ private field
36
37 error[E0658]: use of unstable library feature 'unstable_undeclared'
38   --> $DIR/explore-issue-38412.rs:35:5
39    |
40 LL |     t.2;
41    |     ^^^
42    |
43    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
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:36:7
48    |
49 LL |     t.3;
50    |       ^ private field
51
52 error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private
53   --> $DIR/explore-issue-38412.rs:37:7
54    |
55 LL |     t.4;
56    |       ^ private field
57
58 error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private
59   --> $DIR/explore-issue-38412.rs:38:7
60    |
61 LL |     t.5;
62    |       ^ private field
63
64 error[E0658]: use of unstable library feature 'unstable_undeclared'
65   --> $DIR/explore-issue-38412.rs:42:7
66    |
67 LL |     r.unstable_undeclared_trait_method();
68    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69    |
70    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
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:46:7
75    |
76 LL |     r.unstable_undeclared();
77    |       ^^^^^^^^^^^^^^^^^^^
78    |
79    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
80    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
81
82 error[E0624]: associated function `pub_crate` is private
83   --> $DIR/explore-issue-38412.rs:48:7
84    |
85 LL |     r.pub_crate();
86    |       ^^^^^^^^^ private associated function
87    |
88   ::: $DIR/auxiliary/pub-and-stability.rs:114:9
89    |
90 LL |         pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
91    |         ------------------------------------- private associated function defined here
92
93 error[E0624]: associated function `pub_mod` is private
94   --> $DIR/explore-issue-38412.rs:49:7
95    |
96 LL |     r.pub_mod();
97    |       ^^^^^^^ private associated function
98    |
99   ::: $DIR/auxiliary/pub-and-stability.rs:116:9
100    |
101 LL |         pub(in m) fn pub_mod(&self) -> i32 { self.d_priv }
102    |         ---------------------------------- private associated function defined here
103
104 error[E0624]: associated function `private` is private
105   --> $DIR/explore-issue-38412.rs:50:7
106    |
107 LL |     r.private();
108    |       ^^^^^^^ private associated function
109    |
110   ::: $DIR/auxiliary/pub-and-stability.rs:118:9
111    |
112 LL |         fn private(&self) -> i32 { self.d_priv }
113    |         ------------------------ private associated function defined here
114
115 error[E0658]: use of unstable library feature 'unstable_undeclared'
116   --> $DIR/explore-issue-38412.rs:55:7
117    |
118 LL |     t.unstable_undeclared_trait_method();
119    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120    |
121    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
122    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
123
124 error[E0658]: use of unstable library feature 'unstable_undeclared'
125   --> $DIR/explore-issue-38412.rs:59:7
126    |
127 LL |     t.unstable_undeclared();
128    |       ^^^^^^^^^^^^^^^^^^^
129    |
130    = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
131    = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
132
133 error[E0624]: associated function `pub_crate` is private
134   --> $DIR/explore-issue-38412.rs:61:7
135    |
136 LL |     t.pub_crate();
137    |       ^^^^^^^^^ private associated function
138    |
139   ::: $DIR/auxiliary/pub-and-stability.rs:129:9
140    |
141 LL |         pub(crate) fn pub_crate(&self) -> i32 { self.0 }
142    |         ------------------------------------- private associated function defined here
143
144 error[E0624]: associated function `pub_mod` is private
145   --> $DIR/explore-issue-38412.rs:62:7
146    |
147 LL |     t.pub_mod();
148    |       ^^^^^^^ private associated function
149    |
150   ::: $DIR/auxiliary/pub-and-stability.rs:130:9
151    |
152 LL |         pub(in m) fn pub_mod(&self) -> i32 { self.0 }
153    |         ---------------------------------- private associated function defined here
154
155 error[E0624]: associated function `private` is private
156   --> $DIR/explore-issue-38412.rs:63:7
157    |
158 LL |     t.private();
159    |       ^^^^^^^ private associated function
160    |
161   ::: $DIR/auxiliary/pub-and-stability.rs:131:9
162    |
163 LL |         fn private(&self) -> i32 { self.0 }
164    |         ------------------------ private associated function defined here
165
166 error: aborting due to 19 previous errors
167
168 Some errors have detailed explanations: E0616, E0624, E0658.
169 For more information about an error, try `rustc --explain E0616`.