]> git.proxmox.com Git - rustc.git/blame - src/test/ui/privacy/associated-item-privacy-trait.stderr
Update upstream source from tag 'upstream/1.30.0_beta.7+dfsg1'
[rustc.git] / src / test / ui / privacy / associated-item-privacy-trait.stderr
CommitLineData
b7449926
XL
1error: type `for<'r> fn(&'r priv_trait::Pub) {<priv_trait::Pub as priv_trait::PrivTr>::method}` is private
2 --> $DIR/associated-item-privacy-trait.rs:27:21
3 |
4LL | let value = <Pub as PrivTr>::method;
5 | ^^^^^^^^^^^^^^^^^^^^^^^
6...
7LL | priv_trait::mac!();
8 | ------------------- in this macro invocation
9
10error: type `for<'r> fn(&'r priv_trait::Pub) {<priv_trait::Pub as priv_trait::PrivTr>::method}` is private
11 --> $DIR/associated-item-privacy-trait.rs:29:9
12 |
13LL | value;
14 | ^^^^^
15...
16LL | priv_trait::mac!();
17 | ------------------- in this macro invocation
18
19error: type `for<'r> fn(&'r Self) {<Self as priv_trait::PrivTr>::method}` is private
20 --> $DIR/associated-item-privacy-trait.rs:31:13
21 |
22LL | Pub.method();
23 | ^^^^^^
24...
25LL | priv_trait::mac!();
26 | ------------------- in this macro invocation
27
28error: associated constant `PrivTr::CONST` is private
29 --> $DIR/associated-item-privacy-trait.rs:33:9
30 |
31LL | <Pub as PrivTr>::CONST;
32 | ^^^^^^^^^^^^^^^^^^^^^^
33...
34LL | priv_trait::mac!();
35 | ------------------- in this macro invocation
36
37error: trait `priv_trait::PrivTr` is private
38 --> $DIR/associated-item-privacy-trait.rs:35:13
39 |
40LL | let _: <Pub as PrivTr>::AssocTy;
41 | ^
42...
43LL | priv_trait::mac!();
44 | ------------------- in this macro invocation
45
46error: trait `priv_trait::PrivTr` is private
47 --> $DIR/associated-item-privacy-trait.rs:35:16
48 |
49LL | let _: <Pub as PrivTr>::AssocTy;
50 | ^^^^^^^^^^^^^^^^^^^^^^^^
51...
52LL | priv_trait::mac!();
53 | ------------------- in this macro invocation
54
55error: trait `priv_trait::PrivTr` is private
56 --> $DIR/associated-item-privacy-trait.rs:38:34
57 |
58LL | pub type InSignatureTy = <Pub as PrivTr>::AssocTy;
59 | ^^^^^^^^^^^^^^^^^^^^^^^^
60...
61LL | priv_trait::mac!();
62 | ------------------- in this macro invocation
63
64error: trait `priv_trait::PrivTr` is private
65 --> $DIR/associated-item-privacy-trait.rs:40:34
66 |
67LL | pub trait InSignatureTr: PrivTr {}
68 | ^^^^^^
69...
70LL | priv_trait::mac!();
71 | ------------------- in this macro invocation
72
73error: trait `priv_trait::PrivTr` is private
74 --> $DIR/associated-item-privacy-trait.rs:42:14
75 |
76LL | impl PrivTr for u8 {}
77 | ^^^^^^
78...
79LL | priv_trait::mac!();
80 | ------------------- in this macro invocation
81
82error: type `priv_signature::Priv` is private
83 --> $DIR/associated-item-privacy-trait.rs:59:21
84 |
85LL | let value = <Pub as PubTr>::method;
86 | ^^^^^^^^^^^^^^^^^^^^^^
87...
88LL | priv_signature::mac!();
89 | ----------------------- in this macro invocation
90
91error: type `priv_signature::Priv` is private
92 --> $DIR/associated-item-privacy-trait.rs:61:9
93 |
94LL | value;
95 | ^^^^^
96...
97LL | priv_signature::mac!();
98 | ----------------------- in this macro invocation
99
100error: type `priv_signature::Priv` is private
101 --> $DIR/associated-item-privacy-trait.rs:63:13
102 |
103LL | Pub.method(loop {});
104 | ^^^^^^
105...
106LL | priv_signature::mac!();
107 | ----------------------- in this macro invocation
108
109error: type `priv_substs::Priv` is private
110 --> $DIR/associated-item-privacy-trait.rs:80:21
111 |
112LL | let value = <Pub as PubTr>::method::<Priv>;
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114...
115LL | priv_substs::mac!();
116 | -------------------- in this macro invocation
117
118error: type `priv_substs::Priv` is private
119 --> $DIR/associated-item-privacy-trait.rs:82:9
120 |
121LL | value;
122 | ^^^^^
123...
124LL | priv_substs::mac!();
125 | -------------------- in this macro invocation
126
127error: type `priv_substs::Priv` is private
128 --> $DIR/associated-item-privacy-trait.rs:84:9
129 |
130LL | Pub.method::<Priv>();
131 | ^^^^^^^^^^^^^^^^^^^^
132...
133LL | priv_substs::mac!();
134 | -------------------- in this macro invocation
135
136error: type `priv_parent_substs::Priv` is private
137 --> $DIR/associated-item-privacy-trait.rs:104:21
138 |
139LL | let value = <Pub as PubTr>::method;
140 | ^^^^^^^^^^^^^^^^^^^^^^
141...
142LL | priv_parent_substs::mac!();
143 | --------------------------- in this macro invocation
144
145error: type `priv_parent_substs::Priv` is private
146 --> $DIR/associated-item-privacy-trait.rs:106:9
147 |
148LL | value;
149 | ^^^^^
150...
151LL | priv_parent_substs::mac!();
152 | --------------------------- in this macro invocation
153
154error: type `priv_parent_substs::Priv` is private
155 --> $DIR/associated-item-privacy-trait.rs:108:21
156 |
157LL | let value = <Pub as PubTr<_>>::method;
158 | ^^^^^^^^^^^^^^^^^^^^^^^^^
159...
160LL | priv_parent_substs::mac!();
161 | --------------------------- in this macro invocation
162
163error: type `priv_parent_substs::Priv` is private
164 --> $DIR/associated-item-privacy-trait.rs:110:9
165 |
166LL | value;
167 | ^^^^^
168...
169LL | priv_parent_substs::mac!();
170 | --------------------------- in this macro invocation
171
172error: type `priv_parent_substs::Priv` is private
173 --> $DIR/associated-item-privacy-trait.rs:112:9
174 |
175LL | Pub.method();
176 | ^^^^^^^^^^^^
177...
178LL | priv_parent_substs::mac!();
179 | --------------------------- in this macro invocation
180
181error: type `priv_parent_substs::Priv` is private
182 --> $DIR/associated-item-privacy-trait.rs:115:21
183 |
184LL | let value = <Priv as PubTr<_>>::method;
185 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
186...
187LL | priv_parent_substs::mac!();
188 | --------------------------- in this macro invocation
189
190error: type `priv_parent_substs::Priv` is private
191 --> $DIR/associated-item-privacy-trait.rs:117:9
192 |
193LL | value;
194 | ^^^^^
195...
196LL | priv_parent_substs::mac!();
197 | --------------------------- in this macro invocation
198
199error: type `priv_parent_substs::Priv` is private
200 --> $DIR/associated-item-privacy-trait.rs:119:9
201 |
202LL | Priv.method();
203 | ^^^^^^^^^^^^^
204...
205LL | priv_parent_substs::mac!();
206 | --------------------------- in this macro invocation
207
208error: type `priv_parent_substs::Priv` is private
209 --> $DIR/associated-item-privacy-trait.rs:122:9
210 |
211LL | <Pub as PubTr>::CONST;
212 | ^^^^^^^^^^^^^^^^^^^^^
213...
214LL | priv_parent_substs::mac!();
215 | --------------------------- in this macro invocation
216
217error: type `priv_parent_substs::Priv` is private
218 --> $DIR/associated-item-privacy-trait.rs:124:9
219 |
220LL | <Pub as PubTr<_>>::CONST;
221 | ^^^^^^^^^^^^^^^^^^^^^^^^
222...
223LL | priv_parent_substs::mac!();
224 | --------------------------- in this macro invocation
225
226error: type `priv_parent_substs::Priv` is private
227 --> $DIR/associated-item-privacy-trait.rs:126:9
228 |
229LL | <Priv as PubTr<_>>::CONST;
230 | ^^^^^^^^^^^^^^^^^^^^^^^^^
231...
232LL | priv_parent_substs::mac!();
233 | --------------------------- in this macro invocation
234
235error: type `priv_parent_substs::Priv` is private
236 --> $DIR/associated-item-privacy-trait.rs:129:13
237 |
238LL | let _: <Pub as PubTr>::AssocTy;
239 | ^
240...
241LL | priv_parent_substs::mac!();
242 | --------------------------- in this macro invocation
243
244error: type `priv_parent_substs::Priv` is private
245 --> $DIR/associated-item-privacy-trait.rs:129:16
246 |
247LL | let _: <Pub as PubTr>::AssocTy;
248 | ^^^^^^^^^^^^^^^^^^^^^^^
249...
250LL | priv_parent_substs::mac!();
251 | --------------------------- in this macro invocation
252
253error: type `priv_parent_substs::Priv` is private
254 --> $DIR/associated-item-privacy-trait.rs:132:13
255 |
256LL | let _: <Pub as PubTr<_>>::AssocTy;
257 | ^
258...
259LL | priv_parent_substs::mac!();
260 | --------------------------- in this macro invocation
261
262error: type `priv_parent_substs::Priv` is private
263 --> $DIR/associated-item-privacy-trait.rs:132:16
264 |
265LL | let _: <Pub as PubTr<_>>::AssocTy;
266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
267...
268LL | priv_parent_substs::mac!();
269 | --------------------------- in this macro invocation
270
271error: type `priv_parent_substs::Priv` is private
272 --> $DIR/associated-item-privacy-trait.rs:135:13
273 |
274LL | let _: <Priv as PubTr<_>>::AssocTy;
275 | ^
276...
277LL | priv_parent_substs::mac!();
278 | --------------------------- in this macro invocation
279
280error: type `priv_parent_substs::Priv` is private
281 --> $DIR/associated-item-privacy-trait.rs:135:16
282 |
283LL | let _: <Priv as PubTr<_>>::AssocTy;
284 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
285...
286LL | priv_parent_substs::mac!();
287 | --------------------------- in this macro invocation
288
289error: type `priv_parent_substs::Priv` is private
290 --> $DIR/associated-item-privacy-trait.rs:139:35
291 |
292LL | pub type InSignatureTy1 = <Pub as PubTr>::AssocTy;
293 | ^^^^^^^^^^^^^^^^^^^^^^^
294...
295LL | priv_parent_substs::mac!();
296 | --------------------------- in this macro invocation
297
298error: type `priv_parent_substs::Priv` is private
299 --> $DIR/associated-item-privacy-trait.rs:141:35
300 |
301LL | pub type InSignatureTy2 = <Priv as PubTr<Pub>>::AssocTy;
302 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
303...
304LL | priv_parent_substs::mac!();
305 | --------------------------- in this macro invocation
306
307error: type `priv_parent_substs::Priv` is private
308 --> $DIR/associated-item-privacy-trait.rs:143:14
309 |
310LL | impl PubTr for u8 {}
311 | ^^^^^
312...
313LL | priv_parent_substs::mac!();
314 | --------------------------- in this macro invocation
315
316error: aborting due to 35 previous errors
317