@@ -54,18 +54,7 @@ LL | priv_trait::mac!();
5454 = note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
5555
5656error: trait `PrivTr` is private
57- --> $DIR/associated-item-privacy-trait.rs:25:34
58- |
59- LL | pub type InSignatureTy = <Pub as PrivTr>::AssocTy;
60- | ^^^^^^^^^^^^^^^^^^^^^^^^ private trait
61- ...
62- LL | priv_trait::mac!();
63- | ------------------ in this macro invocation
64- |
65- = note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
66-
67- error: trait `PrivTr` is private
68- --> $DIR/associated-item-privacy-trait.rs:27:34
57+ --> $DIR/associated-item-privacy-trait.rs:26:34
6958 |
7059LL | pub trait InSignatureTr: PrivTr {}
7160 | ^^^^^^ private trait
@@ -76,7 +65,7 @@ LL | priv_trait::mac!();
7665 = note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
7766
7867error: trait `PrivTr` is private
79- --> $DIR/associated-item-privacy-trait.rs:29 :14
68+ --> $DIR/associated-item-privacy-trait.rs:28 :14
8069 |
8170LL | impl PrivTr for u8 {}
8271 | ^^^^^^ private trait
@@ -87,7 +76,7 @@ LL | priv_trait::mac!();
8776 = note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
8877
8978error: type `priv_signature::Priv` is private
90- --> $DIR/associated-item-privacy-trait.rs:46 :21
79+ --> $DIR/associated-item-privacy-trait.rs:45 :21
9180 |
9281LL | let value = <Pub as PubTr>::method;
9382 | ^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -98,7 +87,7 @@ LL | priv_signature::mac!();
9887 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
9988
10089error: type `priv_signature::Priv` is private
101- --> $DIR/associated-item-privacy-trait.rs:48 :9
90+ --> $DIR/associated-item-privacy-trait.rs:47 :9
10291 |
10392LL | value;
10493 | ^^^^^ private type
@@ -109,7 +98,7 @@ LL | priv_signature::mac!();
10998 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
11099
111100error: type `priv_signature::Priv` is private
112- --> $DIR/associated-item-privacy-trait.rs:50 :13
101+ --> $DIR/associated-item-privacy-trait.rs:49 :13
113102 |
114103LL | Pub.method(loop {});
115104 | ^^^^^^ private type
@@ -120,7 +109,7 @@ LL | priv_signature::mac!();
120109 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
121110
122111error: type `priv_substs::Priv` is private
123- --> $DIR/associated-item-privacy-trait.rs:67 :21
112+ --> $DIR/associated-item-privacy-trait.rs:66 :21
124113 |
125114LL | let value = <Pub as PubTr>::method::<Priv>;
126115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -131,7 +120,7 @@ LL | priv_substs::mac!();
131120 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
132121
133122error: type `priv_substs::Priv` is private
134- --> $DIR/associated-item-privacy-trait.rs:69 :9
123+ --> $DIR/associated-item-privacy-trait.rs:68 :9
135124 |
136125LL | value;
137126 | ^^^^^ private type
@@ -142,7 +131,7 @@ LL | priv_substs::mac!();
142131 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
143132
144133error: type `priv_substs::Priv` is private
145- --> $DIR/associated-item-privacy-trait.rs:71 :9
134+ --> $DIR/associated-item-privacy-trait.rs:70 :9
146135 |
147136LL | Pub.method::<Priv>();
148137 | ^^^^^^^^^^^^^^^^^^^^ private type
@@ -153,7 +142,7 @@ LL | priv_substs::mac!();
153142 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
154143
155144error: type `priv_parent_substs::Priv` is private
156- --> $DIR/associated-item-privacy-trait.rs:91 :21
145+ --> $DIR/associated-item-privacy-trait.rs:90 :21
157146 |
158147LL | let value = <Pub as PubTr>::method;
159148 | ^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -164,7 +153,7 @@ LL | priv_parent_substs::mac!();
164153 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
165154
166155error: type `priv_parent_substs::Priv` is private
167- --> $DIR/associated-item-privacy-trait.rs:93 :9
156+ --> $DIR/associated-item-privacy-trait.rs:92 :9
168157 |
169158LL | value;
170159 | ^^^^^ private type
@@ -175,7 +164,7 @@ LL | priv_parent_substs::mac!();
175164 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
176165
177166error: type `priv_parent_substs::Priv` is private
178- --> $DIR/associated-item-privacy-trait.rs:95 :21
167+ --> $DIR/associated-item-privacy-trait.rs:94 :21
179168 |
180169LL | let value = <Pub as PubTr<_>>::method;
181170 | ^^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -186,7 +175,7 @@ LL | priv_parent_substs::mac!();
186175 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
187176
188177error: type `priv_parent_substs::Priv` is private
189- --> $DIR/associated-item-privacy-trait.rs:97 :9
178+ --> $DIR/associated-item-privacy-trait.rs:96 :9
190179 |
191180LL | value;
192181 | ^^^^^ private type
@@ -197,7 +186,7 @@ LL | priv_parent_substs::mac!();
197186 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
198187
199188error: type `priv_parent_substs::Priv` is private
200- --> $DIR/associated-item-privacy-trait.rs:99 :9
189+ --> $DIR/associated-item-privacy-trait.rs:98 :9
201190 |
202191LL | Pub.method();
203192 | ^^^^^^^^^^^^ private type
@@ -208,7 +197,7 @@ LL | priv_parent_substs::mac!();
208197 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
209198
210199error: type `priv_parent_substs::Priv` is private
211- --> $DIR/associated-item-privacy-trait.rs:102 :21
200+ --> $DIR/associated-item-privacy-trait.rs:101 :21
212201 |
213202LL | let value = <Priv as PubTr<_>>::method;
214203 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -219,7 +208,7 @@ LL | priv_parent_substs::mac!();
219208 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
220209
221210error: type `priv_parent_substs::Priv` is private
222- --> $DIR/associated-item-privacy-trait.rs:104 :9
211+ --> $DIR/associated-item-privacy-trait.rs:103 :9
223212 |
224213LL | value;
225214 | ^^^^^ private type
@@ -230,7 +219,7 @@ LL | priv_parent_substs::mac!();
230219 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
231220
232221error: type `priv_parent_substs::Priv` is private
233- --> $DIR/associated-item-privacy-trait.rs:106 :9
222+ --> $DIR/associated-item-privacy-trait.rs:105 :9
234223 |
235224LL | Priv.method();
236225 | ^^^^^^^^^^^^^ private type
@@ -241,7 +230,7 @@ LL | priv_parent_substs::mac!();
241230 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
242231
243232error: type `priv_parent_substs::Priv` is private
244- --> $DIR/associated-item-privacy-trait.rs:109 :9
233+ --> $DIR/associated-item-privacy-trait.rs:108 :9
245234 |
246235LL | <Pub as PubTr>::CONST;
247236 | ^^^^^^^^^^^^^^^^^^^^^ private type
@@ -252,7 +241,7 @@ LL | priv_parent_substs::mac!();
252241 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
253242
254243error: type `priv_parent_substs::Priv` is private
255- --> $DIR/associated-item-privacy-trait.rs:111 :9
244+ --> $DIR/associated-item-privacy-trait.rs:110 :9
256245 |
257246LL | <Pub as PubTr<_>>::CONST;
258247 | ^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -263,7 +252,7 @@ LL | priv_parent_substs::mac!();
263252 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
264253
265254error: type `priv_parent_substs::Priv` is private
266- --> $DIR/associated-item-privacy-trait.rs:113 :9
255+ --> $DIR/associated-item-privacy-trait.rs:112 :9
267256 |
268257LL | <Priv as PubTr<_>>::CONST;
269258 | ^^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -274,7 +263,7 @@ LL | priv_parent_substs::mac!();
274263 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
275264
276265error: type `priv_parent_substs::Priv` is private
277- --> $DIR/associated-item-privacy-trait.rs:117 :30
266+ --> $DIR/associated-item-privacy-trait.rs:116 :30
278267 |
279268LL | let _: <Pub as PubTr<_>>::AssocTy;
280269 | ^ private type
@@ -285,7 +274,7 @@ LL | priv_parent_substs::mac!();
285274 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
286275
287276error: type `priv_parent_substs::Priv` is private
288- --> $DIR/associated-item-privacy-trait.rs:119 :17
277+ --> $DIR/associated-item-privacy-trait.rs:118 :17
289278 |
290279LL | let _: <Priv as PubTr<_>>::AssocTy;
291280 | ^^^^ private type
@@ -296,7 +285,7 @@ LL | priv_parent_substs::mac!();
296285 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
297286
298287error: type `priv_parent_substs::Priv` is private
299- --> $DIR/associated-item-privacy-trait.rs:122 :35
288+ --> $DIR/associated-item-privacy-trait.rs:121 :35
300289 |
301290LL | pub type InSignatureTy1 = <Pub as PubTr>::AssocTy;
302291 | ^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -307,7 +296,7 @@ LL | priv_parent_substs::mac!();
307296 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
308297
309298error: type `priv_parent_substs::Priv` is private
310- --> $DIR/associated-item-privacy-trait.rs:124 :35
299+ --> $DIR/associated-item-privacy-trait.rs:123 :35
311300 |
312301LL | pub type InSignatureTy2 = <Priv as PubTr<Pub>>::AssocTy;
313302 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
@@ -318,7 +307,7 @@ LL | priv_parent_substs::mac!();
318307 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
319308
320309error: type `priv_parent_substs::Priv` is private
321- --> $DIR/associated-item-privacy-trait.rs:126 :14
310+ --> $DIR/associated-item-privacy-trait.rs:125 :14
322311 |
323312LL | impl PubTr for u8 {}
324313 | ^^^^^ private type
@@ -328,5 +317,5 @@ LL | priv_parent_substs::mac!();
328317 |
329318 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
330319
331- error: aborting due to 30 previous errors
320+ error: aborting due to 29 previous errors
332321
0 commit comments