]>
Commit | Line | Data |
---|---|---|
b7449926 XL |
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 | |
3 | | | |
4 | LL | let value = Pub::method; | |
5 | | ^^^^^^^^^^^ | |
6 | ... | |
7 | LL | priv_nominal::mac!(); | |
8 | | --------------------- in this macro invocation | |
9 | ||
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 | |
12 | | | |
13 | LL | value; | |
14 | | ^^^^^ | |
15 | ... | |
16 | LL | priv_nominal::mac!(); | |
17 | | --------------------- in this macro invocation | |
18 | ||
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 | |
21 | | | |
22 | LL | Pub.method(); | |
23 | | ^^^^^^ | |
24 | ... | |
25 | LL | priv_nominal::mac!(); | |
26 | | --------------------- in this macro invocation | |
27 | ||
28 | error: associated constant `CONST` is private | |
29 | --> $DIR/associated-item-privacy-inherent.rs:29:9 | |
30 | | | |
31 | LL | Pub::CONST; | |
32 | | ^^^^^^^^^^ | |
33 | ... | |
34 | LL | priv_nominal::mac!(); | |
35 | | --------------------- in this macro invocation | |
36 | ||
37 | error: type `priv_signature::Priv` is private | |
38 | --> $DIR/associated-item-privacy-inherent.rs:47:21 | |
39 | | | |
40 | LL | let value = Pub::method; | |
41 | | ^^^^^^^^^^^ | |
42 | ... | |
43 | LL | priv_signature::mac!(); | |
44 | | ----------------------- in this macro invocation | |
45 | ||
46 | error: type `priv_signature::Priv` is private | |
47 | --> $DIR/associated-item-privacy-inherent.rs:49:9 | |
48 | | | |
49 | LL | value; | |
50 | | ^^^^^ | |
51 | ... | |
52 | LL | priv_signature::mac!(); | |
53 | | ----------------------- in this macro invocation | |
54 | ||
55 | error: type `priv_signature::Priv` is private | |
56 | --> $DIR/associated-item-privacy-inherent.rs:51:13 | |
57 | | | |
58 | LL | Pub.method(loop {}); | |
59 | | ^^^^^^ | |
60 | ... | |
61 | LL | priv_signature::mac!(); | |
62 | | ----------------------- in this macro invocation | |
63 | ||
64 | error: type `priv_substs::Priv` is private | |
65 | --> $DIR/associated-item-privacy-inherent.rs:67:21 | |
66 | | | |
67 | LL | let value = Pub::method::<Priv>; | |
68 | | ^^^^^^^^^^^^^^^^^^^ | |
69 | ... | |
70 | LL | priv_substs::mac!(); | |
71 | | -------------------- in this macro invocation | |
72 | ||
73 | error: type `priv_substs::Priv` is private | |
74 | --> $DIR/associated-item-privacy-inherent.rs:69:9 | |
75 | | | |
76 | LL | value; | |
77 | | ^^^^^ | |
78 | ... | |
79 | LL | priv_substs::mac!(); | |
80 | | -------------------- in this macro invocation | |
81 | ||
82 | error: type `priv_substs::Priv` is private | |
83 | --> $DIR/associated-item-privacy-inherent.rs:71:9 | |
84 | | | |
85 | LL | Pub.method::<Priv>(); | |
86 | | ^^^^^^^^^^^^^^^^^^^^ | |
87 | ... | |
88 | LL | priv_substs::mac!(); | |
89 | | -------------------- in this macro invocation | |
90 | ||
91 | error: type `priv_parent_substs::Priv` is private | |
92 | --> $DIR/associated-item-privacy-inherent.rs:90:21 | |
93 | | | |
94 | LL | let value = <Pub>::method; | |
95 | | ^^^^^^^^^^^^^ | |
96 | ... | |
97 | LL | priv_parent_substs::mac!(); | |
98 | | --------------------------- in this macro invocation | |
99 | ||
100 | error: type `priv_parent_substs::Priv` is private | |
101 | --> $DIR/associated-item-privacy-inherent.rs:92:9 | |
102 | | | |
103 | LL | value; | |
104 | | ^^^^^ | |
105 | ... | |
106 | LL | priv_parent_substs::mac!(); | |
107 | | --------------------------- in this macro invocation | |
108 | ||
109 | error: type `priv_parent_substs::Priv` is private | |
110 | --> $DIR/associated-item-privacy-inherent.rs:94:21 | |
111 | | | |
112 | LL | let value = Pub::method; | |
113 | | ^^^^^^^^^^^ | |
114 | ... | |
115 | LL | priv_parent_substs::mac!(); | |
116 | | --------------------------- in this macro invocation | |
117 | ||
118 | error: type `priv_parent_substs::Priv` is private | |
119 | --> $DIR/associated-item-privacy-inherent.rs:96:9 | |
120 | | | |
121 | LL | value; | |
122 | | ^^^^^ | |
123 | ... | |
124 | LL | priv_parent_substs::mac!(); | |
125 | | --------------------------- in this macro invocation | |
126 | ||
127 | error: type `priv_parent_substs::Priv` is private | |
128 | --> $DIR/associated-item-privacy-inherent.rs:98:21 | |
129 | | | |
130 | LL | let value = <Pub>::static_method; | |
131 | | ^^^^^^^^^^^^^^^^^^^^ | |
132 | ... | |
133 | LL | priv_parent_substs::mac!(); | |
134 | | --------------------------- in this macro invocation | |
135 | ||
136 | error: type `priv_parent_substs::Priv` is private | |
137 | --> $DIR/associated-item-privacy-inherent.rs:100:9 | |
138 | | | |
139 | LL | value; | |
140 | | ^^^^^ | |
141 | ... | |
142 | LL | priv_parent_substs::mac!(); | |
143 | | --------------------------- in this macro invocation | |
144 | ||
145 | error: type `priv_parent_substs::Priv` is private | |
146 | --> $DIR/associated-item-privacy-inherent.rs:102:21 | |
147 | | | |
148 | LL | let value = Pub::static_method; | |
149 | | ^^^^^^^^^^^^^^^^^^ | |
150 | ... | |
151 | LL | priv_parent_substs::mac!(); | |
152 | | --------------------------- in this macro invocation | |
153 | ||
154 | error: type `priv_parent_substs::Priv` is private | |
155 | --> $DIR/associated-item-privacy-inherent.rs:104:9 | |
156 | | | |
157 | LL | value; | |
158 | | ^^^^^ | |
159 | ... | |
160 | LL | priv_parent_substs::mac!(); | |
161 | | --------------------------- in this macro invocation | |
162 | ||
163 | error: type `priv_parent_substs::Priv` is private | |
164 | --> $DIR/associated-item-privacy-inherent.rs:106:19 | |
165 | | | |
166 | LL | Pub(Priv).method(); | |
167 | | ^^^^^^ | |
168 | ... | |
169 | LL | priv_parent_substs::mac!(); | |
170 | | --------------------------- in this macro invocation | |
171 | ||
172 | error: type `priv_parent_substs::Priv` is private | |
173 | --> $DIR/associated-item-privacy-inherent.rs:109:10 | |
174 | | | |
175 | LL | <Pub>::CONST; | |
176 | | ^^^ | |
177 | ... | |
178 | LL | priv_parent_substs::mac!(); | |
179 | | --------------------------- in this macro invocation | |
180 | ||
181 | error: type `priv_parent_substs::Priv` is private | |
182 | --> $DIR/associated-item-privacy-inherent.rs:111:9 | |
183 | | | |
184 | LL | Pub::CONST; | |
185 | | ^^^^^^^^^^ | |
186 | ... | |
187 | LL | priv_parent_substs::mac!(); | |
188 | | --------------------------- in this macro invocation | |
189 | ||
190 | error: aborting due to 21 previous errors | |
191 |