1 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
2 --> $DIR/associated-item-privacy-inherent.rs:13:21
4 LL | let value = Pub::method;
5 | ^^^^^^^^^^^ private type
7 LL | priv_nominal::mac!();
8 | --------------------- in this macro invocation
10 = note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
12 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
13 --> $DIR/associated-item-privacy-inherent.rs:15:9
18 LL | priv_nominal::mac!();
19 | --------------------- in this macro invocation
21 = note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
23 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
24 --> $DIR/associated-item-privacy-inherent.rs:17:13
29 LL | priv_nominal::mac!();
30 | --------------------- in this macro invocation
32 = note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
34 error: associated constant `CONST` is private
35 --> $DIR/associated-item-privacy-inherent.rs:19:9
38 | ^^^^^^^^^^ private associated constant
40 LL | priv_nominal::mac!();
41 | --------------------- in this macro invocation
43 = note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
45 error: type `priv_signature::Priv` is private
46 --> $DIR/associated-item-privacy-inherent.rs:37:21
48 LL | let value = Pub::method;
49 | ^^^^^^^^^^^ private type
51 LL | priv_signature::mac!();
52 | ----------------------- in this macro invocation
54 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
56 error: type `priv_signature::Priv` is private
57 --> $DIR/associated-item-privacy-inherent.rs:39:9
62 LL | priv_signature::mac!();
63 | ----------------------- in this macro invocation
65 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
67 error: type `priv_signature::Priv` is private
68 --> $DIR/associated-item-privacy-inherent.rs:41:13
70 LL | Pub.method(loop {});
73 LL | priv_signature::mac!();
74 | ----------------------- in this macro invocation
76 = note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
78 error: type `priv_substs::Priv` is private
79 --> $DIR/associated-item-privacy-inherent.rs:57:21
81 LL | let value = Pub::method::<Priv>;
82 | ^^^^^^^^^^^^^^^^^^^ private type
84 LL | priv_substs::mac!();
85 | -------------------- in this macro invocation
87 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
89 error: type `priv_substs::Priv` is private
90 --> $DIR/associated-item-privacy-inherent.rs:59:9
95 LL | priv_substs::mac!();
96 | -------------------- in this macro invocation
98 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
100 error: type `priv_substs::Priv` is private
101 --> $DIR/associated-item-privacy-inherent.rs:61:9
103 LL | Pub.method::<Priv>();
104 | ^^^^^^^^^^^^^^^^^^^^ private type
106 LL | priv_substs::mac!();
107 | -------------------- in this macro invocation
109 = note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
111 error: type `priv_parent_substs::Priv` is private
112 --> $DIR/associated-item-privacy-inherent.rs:80:21
114 LL | let value = <Pub>::method;
115 | ^^^^^^^^^^^^^ private type
117 LL | priv_parent_substs::mac!();
118 | --------------------------- in this macro invocation
120 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
122 error: type `priv_parent_substs::Priv` is private
123 --> $DIR/associated-item-privacy-inherent.rs:82:9
128 LL | priv_parent_substs::mac!();
129 | --------------------------- in this macro invocation
131 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
133 error: type `priv_parent_substs::Priv` is private
134 --> $DIR/associated-item-privacy-inherent.rs:84:21
136 LL | let value = Pub::method;
137 | ^^^^^^^^^^^ private type
139 LL | priv_parent_substs::mac!();
140 | --------------------------- in this macro invocation
142 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
144 error: type `priv_parent_substs::Priv` is private
145 --> $DIR/associated-item-privacy-inherent.rs:86:9
150 LL | priv_parent_substs::mac!();
151 | --------------------------- in this macro invocation
153 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
155 error: type `priv_parent_substs::Priv` is private
156 --> $DIR/associated-item-privacy-inherent.rs:88:21
158 LL | let value = <Pub>::static_method;
159 | ^^^^^^^^^^^^^^^^^^^^ private type
161 LL | priv_parent_substs::mac!();
162 | --------------------------- in this macro invocation
164 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
166 error: type `priv_parent_substs::Priv` is private
167 --> $DIR/associated-item-privacy-inherent.rs:90:9
172 LL | priv_parent_substs::mac!();
173 | --------------------------- in this macro invocation
175 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
177 error: type `priv_parent_substs::Priv` is private
178 --> $DIR/associated-item-privacy-inherent.rs:92:21
180 LL | let value = Pub::static_method;
181 | ^^^^^^^^^^^^^^^^^^ private type
183 LL | priv_parent_substs::mac!();
184 | --------------------------- in this macro invocation
186 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
188 error: type `priv_parent_substs::Priv` is private
189 --> $DIR/associated-item-privacy-inherent.rs:94:9
194 LL | priv_parent_substs::mac!();
195 | --------------------------- in this macro invocation
197 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
199 error: type `priv_parent_substs::Priv` is private
200 --> $DIR/associated-item-privacy-inherent.rs:96:19
202 LL | Pub(Priv).method();
203 | ^^^^^^ private type
205 LL | priv_parent_substs::mac!();
206 | --------------------------- in this macro invocation
208 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
210 error: type `priv_parent_substs::Priv` is private
211 --> $DIR/associated-item-privacy-inherent.rs:99:10
216 LL | priv_parent_substs::mac!();
217 | --------------------------- in this macro invocation
219 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
221 error: type `priv_parent_substs::Priv` is private
222 --> $DIR/associated-item-privacy-inherent.rs:101:9
227 LL | priv_parent_substs::mac!();
228 | --------------------------- in this macro invocation
230 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
232 error: aborting due to 21 previous errors