1 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
2 --> $DIR/associated-item-privacy-inherent.rs:23:21
4 LL | let value = Pub::method;
7 LL | priv_nominal::mac!();
8 | --------------------- in this macro invocation
10 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
11 --> $DIR/associated-item-privacy-inherent.rs:25:9
16 LL | priv_nominal::mac!();
17 | --------------------- in this macro invocation
19 error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
20 --> $DIR/associated-item-privacy-inherent.rs:27:13
25 LL | priv_nominal::mac!();
26 | --------------------- in this macro invocation
28 error: associated constant `CONST` is private
29 --> $DIR/associated-item-privacy-inherent.rs:29:9
34 LL | priv_nominal::mac!();
35 | --------------------- in this macro invocation
37 error: type `priv_signature::Priv` is private
38 --> $DIR/associated-item-privacy-inherent.rs:47:21
40 LL | let value = Pub::method;
43 LL | priv_signature::mac!();
44 | ----------------------- in this macro invocation
46 error: type `priv_signature::Priv` is private
47 --> $DIR/associated-item-privacy-inherent.rs:49:9
52 LL | priv_signature::mac!();
53 | ----------------------- in this macro invocation
55 error: type `priv_signature::Priv` is private
56 --> $DIR/associated-item-privacy-inherent.rs:51:13
58 LL | Pub.method(loop {});
61 LL | priv_signature::mac!();
62 | ----------------------- in this macro invocation
64 error: type `priv_substs::Priv` is private
65 --> $DIR/associated-item-privacy-inherent.rs:67:21
67 LL | let value = Pub::method::<Priv>;
70 LL | priv_substs::mac!();
71 | -------------------- in this macro invocation
73 error: type `priv_substs::Priv` is private
74 --> $DIR/associated-item-privacy-inherent.rs:69:9
79 LL | priv_substs::mac!();
80 | -------------------- in this macro invocation
82 error: type `priv_substs::Priv` is private
83 --> $DIR/associated-item-privacy-inherent.rs:71:9
85 LL | Pub.method::<Priv>();
86 | ^^^^^^^^^^^^^^^^^^^^
88 LL | priv_substs::mac!();
89 | -------------------- in this macro invocation
91 error: type `priv_parent_substs::Priv` is private
92 --> $DIR/associated-item-privacy-inherent.rs:90:21
94 LL | let value = <Pub>::method;
97 LL | priv_parent_substs::mac!();
98 | --------------------------- in this macro invocation
100 error: type `priv_parent_substs::Priv` is private
101 --> $DIR/associated-item-privacy-inherent.rs:92:9
106 LL | priv_parent_substs::mac!();
107 | --------------------------- in this macro invocation
109 error: type `priv_parent_substs::Priv` is private
110 --> $DIR/associated-item-privacy-inherent.rs:94:21
112 LL | let value = Pub::method;
115 LL | priv_parent_substs::mac!();
116 | --------------------------- in this macro invocation
118 error: type `priv_parent_substs::Priv` is private
119 --> $DIR/associated-item-privacy-inherent.rs:96:9
124 LL | priv_parent_substs::mac!();
125 | --------------------------- in this macro invocation
127 error: type `priv_parent_substs::Priv` is private
128 --> $DIR/associated-item-privacy-inherent.rs:98:21
130 LL | let value = <Pub>::static_method;
131 | ^^^^^^^^^^^^^^^^^^^^
133 LL | priv_parent_substs::mac!();
134 | --------------------------- in this macro invocation
136 error: type `priv_parent_substs::Priv` is private
137 --> $DIR/associated-item-privacy-inherent.rs:100:9
142 LL | priv_parent_substs::mac!();
143 | --------------------------- in this macro invocation
145 error: type `priv_parent_substs::Priv` is private
146 --> $DIR/associated-item-privacy-inherent.rs:102:21
148 LL | let value = Pub::static_method;
151 LL | priv_parent_substs::mac!();
152 | --------------------------- in this macro invocation
154 error: type `priv_parent_substs::Priv` is private
155 --> $DIR/associated-item-privacy-inherent.rs:104:9
160 LL | priv_parent_substs::mac!();
161 | --------------------------- in this macro invocation
163 error: type `priv_parent_substs::Priv` is private
164 --> $DIR/associated-item-privacy-inherent.rs:106:19
166 LL | Pub(Priv).method();
169 LL | priv_parent_substs::mac!();
170 | --------------------------- in this macro invocation
172 error: type `priv_parent_substs::Priv` is private
173 --> $DIR/associated-item-privacy-inherent.rs:109:10
178 LL | priv_parent_substs::mac!();
179 | --------------------------- in this macro invocation
181 error: type `priv_parent_substs::Priv` is private
182 --> $DIR/associated-item-privacy-inherent.rs:111:9
187 LL | priv_parent_substs::mac!();
188 | --------------------------- in this macro invocation
190 error: aborting due to 21 previous errors