]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private |
0731742a | 2 | --> $DIR/associated-item-privacy-inherent.rs:13:21 |
b7449926 XL |
3 | | |
4 | LL | let value = Pub::method; | |
ba9703b0 | 5 | | ^^^^^^^^^^^ private type |
b7449926 XL |
6 | ... |
7 | LL | priv_nominal::mac!(); | |
8 | | --------------------- in this macro invocation | |
74b04a01 XL |
9 | | |
10 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
11 | |
12 | error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private | |
0731742a | 13 | --> $DIR/associated-item-privacy-inherent.rs:15:9 |
b7449926 XL |
14 | | |
15 | LL | value; | |
ba9703b0 | 16 | | ^^^^^ private type |
b7449926 XL |
17 | ... |
18 | LL | priv_nominal::mac!(); | |
19 | | --------------------- in this macro invocation | |
74b04a01 XL |
20 | | |
21 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
22 | |
23 | error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private | |
0731742a | 24 | --> $DIR/associated-item-privacy-inherent.rs:17:13 |
b7449926 XL |
25 | | |
26 | LL | Pub.method(); | |
ba9703b0 | 27 | | ^^^^^^ private type |
b7449926 XL |
28 | ... |
29 | LL | priv_nominal::mac!(); | |
30 | | --------------------- in this macro invocation | |
74b04a01 XL |
31 | | |
32 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
33 | |
34 | error: associated constant `CONST` is private | |
0731742a | 35 | --> $DIR/associated-item-privacy-inherent.rs:19:9 |
b7449926 XL |
36 | | |
37 | LL | Pub::CONST; | |
ba9703b0 | 38 | | ^^^^^^^^^^ private associated constant |
b7449926 XL |
39 | ... |
40 | LL | priv_nominal::mac!(); | |
41 | | --------------------- in this macro invocation | |
74b04a01 XL |
42 | | |
43 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
44 | |
45 | error: type `priv_signature::Priv` is private | |
0731742a | 46 | --> $DIR/associated-item-privacy-inherent.rs:37:21 |
b7449926 XL |
47 | | |
48 | LL | let value = Pub::method; | |
ba9703b0 | 49 | | ^^^^^^^^^^^ private type |
b7449926 XL |
50 | ... |
51 | LL | priv_signature::mac!(); | |
52 | | ----------------------- in this macro invocation | |
74b04a01 XL |
53 | | |
54 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
55 | |
56 | error: type `priv_signature::Priv` is private | |
0731742a | 57 | --> $DIR/associated-item-privacy-inherent.rs:39:9 |
b7449926 XL |
58 | | |
59 | LL | value; | |
ba9703b0 | 60 | | ^^^^^ private type |
b7449926 XL |
61 | ... |
62 | LL | priv_signature::mac!(); | |
63 | | ----------------------- in this macro invocation | |
74b04a01 XL |
64 | | |
65 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
66 | |
67 | error: type `priv_signature::Priv` is private | |
0731742a | 68 | --> $DIR/associated-item-privacy-inherent.rs:41:13 |
b7449926 XL |
69 | | |
70 | LL | Pub.method(loop {}); | |
ba9703b0 | 71 | | ^^^^^^ private type |
b7449926 XL |
72 | ... |
73 | LL | priv_signature::mac!(); | |
74 | | ----------------------- in this macro invocation | |
74b04a01 XL |
75 | | |
76 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
77 | |
78 | error: type `priv_substs::Priv` is private | |
0731742a | 79 | --> $DIR/associated-item-privacy-inherent.rs:57:21 |
b7449926 XL |
80 | | |
81 | LL | let value = Pub::method::<Priv>; | |
ba9703b0 | 82 | | ^^^^^^^^^^^^^^^^^^^ private type |
b7449926 XL |
83 | ... |
84 | LL | priv_substs::mac!(); | |
85 | | -------------------- in this macro invocation | |
74b04a01 XL |
86 | | |
87 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
88 | |
89 | error: type `priv_substs::Priv` is private | |
0731742a | 90 | --> $DIR/associated-item-privacy-inherent.rs:59:9 |
b7449926 XL |
91 | | |
92 | LL | value; | |
ba9703b0 | 93 | | ^^^^^ private type |
b7449926 XL |
94 | ... |
95 | LL | priv_substs::mac!(); | |
96 | | -------------------- in this macro invocation | |
74b04a01 XL |
97 | | |
98 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
99 | |
100 | error: type `priv_substs::Priv` is private | |
0731742a | 101 | --> $DIR/associated-item-privacy-inherent.rs:61:9 |
b7449926 XL |
102 | | |
103 | LL | Pub.method::<Priv>(); | |
ba9703b0 | 104 | | ^^^^^^^^^^^^^^^^^^^^ private type |
b7449926 XL |
105 | ... |
106 | LL | priv_substs::mac!(); | |
107 | | -------------------- in this macro invocation | |
74b04a01 XL |
108 | | |
109 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
110 | |
111 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 112 | --> $DIR/associated-item-privacy-inherent.rs:80:21 |
b7449926 XL |
113 | | |
114 | LL | let value = <Pub>::method; | |
ba9703b0 | 115 | | ^^^^^^^^^^^^^ private type |
b7449926 XL |
116 | ... |
117 | LL | priv_parent_substs::mac!(); | |
118 | | --------------------------- in this macro invocation | |
74b04a01 XL |
119 | | |
120 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
121 | |
122 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 123 | --> $DIR/associated-item-privacy-inherent.rs:82:9 |
b7449926 XL |
124 | | |
125 | LL | value; | |
ba9703b0 | 126 | | ^^^^^ private type |
b7449926 XL |
127 | ... |
128 | LL | priv_parent_substs::mac!(); | |
129 | | --------------------------- in this macro invocation | |
74b04a01 XL |
130 | | |
131 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
132 | |
133 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 134 | --> $DIR/associated-item-privacy-inherent.rs:84:21 |
b7449926 XL |
135 | | |
136 | LL | let value = Pub::method; | |
ba9703b0 | 137 | | ^^^^^^^^^^^ private type |
b7449926 XL |
138 | ... |
139 | LL | priv_parent_substs::mac!(); | |
140 | | --------------------------- in this macro invocation | |
74b04a01 XL |
141 | | |
142 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
143 | |
144 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 145 | --> $DIR/associated-item-privacy-inherent.rs:86:9 |
b7449926 XL |
146 | | |
147 | LL | value; | |
ba9703b0 | 148 | | ^^^^^ private type |
b7449926 XL |
149 | ... |
150 | LL | priv_parent_substs::mac!(); | |
151 | | --------------------------- in this macro invocation | |
74b04a01 XL |
152 | | |
153 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
154 | |
155 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 156 | --> $DIR/associated-item-privacy-inherent.rs:88:21 |
b7449926 XL |
157 | | |
158 | LL | let value = <Pub>::static_method; | |
ba9703b0 | 159 | | ^^^^^^^^^^^^^^^^^^^^ private type |
b7449926 XL |
160 | ... |
161 | LL | priv_parent_substs::mac!(); | |
162 | | --------------------------- in this macro invocation | |
74b04a01 XL |
163 | | |
164 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
165 | |
166 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 167 | --> $DIR/associated-item-privacy-inherent.rs:90:9 |
b7449926 XL |
168 | | |
169 | LL | value; | |
ba9703b0 | 170 | | ^^^^^ private type |
b7449926 XL |
171 | ... |
172 | LL | priv_parent_substs::mac!(); | |
173 | | --------------------------- in this macro invocation | |
74b04a01 XL |
174 | | |
175 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
176 | |
177 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 178 | --> $DIR/associated-item-privacy-inherent.rs:92:21 |
b7449926 XL |
179 | | |
180 | LL | let value = Pub::static_method; | |
ba9703b0 | 181 | | ^^^^^^^^^^^^^^^^^^ private type |
b7449926 XL |
182 | ... |
183 | LL | priv_parent_substs::mac!(); | |
184 | | --------------------------- in this macro invocation | |
74b04a01 XL |
185 | | |
186 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
187 | |
188 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 189 | --> $DIR/associated-item-privacy-inherent.rs:94:9 |
b7449926 XL |
190 | | |
191 | LL | value; | |
ba9703b0 | 192 | | ^^^^^ private type |
b7449926 XL |
193 | ... |
194 | LL | priv_parent_substs::mac!(); | |
195 | | --------------------------- in this macro invocation | |
74b04a01 XL |
196 | | |
197 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
198 | |
199 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 200 | --> $DIR/associated-item-privacy-inherent.rs:96:19 |
b7449926 XL |
201 | | |
202 | LL | Pub(Priv).method(); | |
ba9703b0 | 203 | | ^^^^^^ private type |
b7449926 XL |
204 | ... |
205 | LL | priv_parent_substs::mac!(); | |
206 | | --------------------------- in this macro invocation | |
74b04a01 XL |
207 | | |
208 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
209 | |
210 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 211 | --> $DIR/associated-item-privacy-inherent.rs:99:10 |
b7449926 XL |
212 | | |
213 | LL | <Pub>::CONST; | |
ba9703b0 | 214 | | ^^^ private type |
b7449926 XL |
215 | ... |
216 | LL | priv_parent_substs::mac!(); | |
217 | | --------------------------- in this macro invocation | |
74b04a01 XL |
218 | | |
219 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
220 | |
221 | error: type `priv_parent_substs::Priv` is private | |
0731742a | 222 | --> $DIR/associated-item-privacy-inherent.rs:101:9 |
b7449926 XL |
223 | | |
224 | LL | Pub::CONST; | |
6a06907d | 225 | | ^^^ private type |
b7449926 XL |
226 | ... |
227 | LL | priv_parent_substs::mac!(); | |
228 | | --------------------------- in this macro invocation | |
74b04a01 XL |
229 | | |
230 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
b7449926 XL |
231 | |
232 | error: aborting due to 21 previous errors | |
233 |