]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-stability.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-stability.stderr
1 error[E0658]: use of unstable library feature 'unstable_test_feature'
2 --> $DIR/lint-stability.rs:17:5
3 |
4 LL | extern crate stability_cfg2;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
8
9 error[E0658]: use of unstable library feature 'unstable_test_feature'
10 --> $DIR/lint-stability.rs:45:9
11 |
12 LL | deprecated_unstable();
13 | ^^^^^^^^^^^^^^^^^^^
14 |
15 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
16
17 error[E0658]: use of unstable library feature 'unstable_test_feature'
18 --> $DIR/lint-stability.rs:47:9
19 |
20 LL | Trait::trait_deprecated_unstable(&foo);
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
23 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
24
25 error[E0658]: use of unstable library feature 'unstable_test_feature'
26 --> $DIR/lint-stability.rs:49:9
27 |
28 LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |
31 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
32
33 error[E0658]: use of unstable library feature 'unstable_test_feature'
34 --> $DIR/lint-stability.rs:52:9
35 |
36 LL | deprecated_unstable_text();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^
38 |
39 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
40
41 error[E0658]: use of unstable library feature 'unstable_test_feature'
42 --> $DIR/lint-stability.rs:54:9
43 |
44 LL | Trait::trait_deprecated_unstable_text(&foo);
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 |
47 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
48
49 error[E0658]: use of unstable library feature 'unstable_test_feature'
50 --> $DIR/lint-stability.rs:56:9
51 |
52 LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54 |
55 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
56
57 error[E0658]: use of unstable library feature 'unstable_test_feature'
58 --> $DIR/lint-stability.rs:59:9
59 |
60 LL | unstable();
61 | ^^^^^^^^
62 |
63 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
64
65 error[E0658]: use of unstable library feature 'unstable_test_feature'
66 --> $DIR/lint-stability.rs:60:9
67 |
68 LL | Trait::trait_unstable(&foo);
69 | ^^^^^^^^^^^^^^^^^^^^^
70 |
71 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
72
73 error[E0658]: use of unstable library feature 'unstable_test_feature'
74 --> $DIR/lint-stability.rs:61:9
75 |
76 LL | <Foo as Trait>::trait_unstable(&foo);
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78 |
79 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
80
81 error[E0658]: use of unstable library feature 'unstable_test_feature': text
82 --> $DIR/lint-stability.rs:63:9
83 |
84 LL | unstable_text();
85 | ^^^^^^^^^^^^^
86 |
87 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
88
89 error[E0658]: use of unstable library feature 'unstable_test_feature': text
90 --> $DIR/lint-stability.rs:65:9
91 |
92 LL | Trait::trait_unstable_text(&foo);
93 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
94 |
95 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
96
97 error[E0658]: use of unstable library feature 'unstable_test_feature': text
98 --> $DIR/lint-stability.rs:67:9
99 |
100 LL | <Foo as Trait>::trait_unstable_text(&foo);
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102 |
103 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
104
105 error[E0658]: use of unstable library feature 'unstable_test_feature'
106 --> $DIR/lint-stability.rs:99:17
107 |
108 LL | let _ = DeprecatedUnstableStruct {
109 | ^^^^^^^^^^^^^^^^^^^^^^^^
110 |
111 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
112
113 error[E0658]: use of unstable library feature 'unstable_test_feature'
114 --> $DIR/lint-stability.rs:103:17
115 |
116 LL | let _ = UnstableStruct { i: 0 };
117 | ^^^^^^^^^^^^^^
118 |
119 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
120
121 error[E0658]: use of unstable library feature 'unstable_test_feature'
122 --> $DIR/lint-stability.rs:107:17
123 |
124 LL | let _ = DeprecatedUnstableUnitStruct;
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126 |
127 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
128
129 error[E0658]: use of unstable library feature 'unstable_test_feature'
130 --> $DIR/lint-stability.rs:109:17
131 |
132 LL | let _ = UnstableUnitStruct;
133 | ^^^^^^^^^^^^^^^^^^
134 |
135 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
136
137 error[E0658]: use of unstable library feature 'unstable_test_feature'
138 --> $DIR/lint-stability.rs:113:17
139 |
140 LL | let _ = Enum::DeprecatedUnstableVariant;
141 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
142 |
143 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
144
145 error[E0658]: use of unstable library feature 'unstable_test_feature'
146 --> $DIR/lint-stability.rs:115:17
147 |
148 LL | let _ = Enum::UnstableVariant;
149 | ^^^^^^^^^^^^^^^^^^^^^
150 |
151 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
152
153 error[E0658]: use of unstable library feature 'unstable_test_feature'
154 --> $DIR/lint-stability.rs:119:17
155 |
156 LL | let _ = DeprecatedUnstableTupleStruct (1);
157 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158 |
159 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
160
161 error[E0658]: use of unstable library feature 'unstable_test_feature'
162 --> $DIR/lint-stability.rs:121:17
163 |
164 LL | let _ = UnstableTupleStruct (1);
165 | ^^^^^^^^^^^^^^^^^^^
166 |
167 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
168
169 error[E0658]: use of unstable library feature 'unstable_test_feature'
170 --> $DIR/lint-stability.rs:130:25
171 |
172 LL | macro_test_arg!(deprecated_unstable_text());
173 | ^^^^^^^^^^^^^^^^^^^^^^^^
174 |
175 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
176
177 error[E0658]: use of unstable library feature 'unstable_test_feature'
178 --> $DIR/lint-stability.rs:144:9
179 |
180 LL | Trait::trait_deprecated_unstable(&foo);
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182 |
183 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
184
185 error[E0658]: use of unstable library feature 'unstable_test_feature'
186 --> $DIR/lint-stability.rs:146:9
187 |
188 LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
189 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190 |
191 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
192
193 error[E0658]: use of unstable library feature 'unstable_test_feature'
194 --> $DIR/lint-stability.rs:148:9
195 |
196 LL | Trait::trait_deprecated_unstable_text(&foo);
197 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
198 |
199 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
200
201 error[E0658]: use of unstable library feature 'unstable_test_feature'
202 --> $DIR/lint-stability.rs:150:9
203 |
204 LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
205 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206 |
207 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
208
209 error[E0658]: use of unstable library feature 'unstable_test_feature'
210 --> $DIR/lint-stability.rs:152:9
211 |
212 LL | Trait::trait_unstable(&foo);
213 | ^^^^^^^^^^^^^^^^^^^^^
214 |
215 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
216
217 error[E0658]: use of unstable library feature 'unstable_test_feature'
218 --> $DIR/lint-stability.rs:153:9
219 |
220 LL | <Foo as Trait>::trait_unstable(&foo);
221 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
222 |
223 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
224
225 error[E0658]: use of unstable library feature 'unstable_test_feature': text
226 --> $DIR/lint-stability.rs:154:9
227 |
228 LL | Trait::trait_unstable_text(&foo);
229 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
230 |
231 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
232
233 error[E0658]: use of unstable library feature 'unstable_test_feature': text
234 --> $DIR/lint-stability.rs:156:9
235 |
236 LL | <Foo as Trait>::trait_unstable_text(&foo);
237 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
238 |
239 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
240
241 error[E0658]: use of unstable library feature 'unstable_test_feature'
242 --> $DIR/lint-stability.rs:172:10
243 |
244 LL | impl UnstableTrait for S { }
245 | ^^^^^^^^^^^^^
246 |
247 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
248
249 error[E0658]: use of unstable library feature 'unstable_test_feature'
250 --> $DIR/lint-stability.rs:174:24
251 |
252 LL | trait LocalTrait : UnstableTrait { }
253 | ^^^^^^^^^^^^^
254 |
255 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
256
257 error[E0658]: use of unstable library feature 'unstable_test_feature'
258 --> $DIR/lint-stability.rs:179:9
259 |
260 LL | fn trait_unstable(&self) {}
261 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
262 |
263 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
264
265 error[E0658]: use of unstable library feature 'unstable_test_feature'
266 --> $DIR/lint-stability.rs:184:5
267 |
268 LL | extern crate inherited_stability;
269 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
270 |
271 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
272
273 error[E0658]: use of unstable library feature 'unstable_test_feature'
274 --> $DIR/lint-stability.rs:185:9
275 |
276 LL | use self::inherited_stability::*;
277 | ^^^^^^^^^^^^^^^^^^^^^^^^^
278 |
279 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
280
281 error[E0658]: use of unstable library feature 'unstable_test_feature'
282 --> $DIR/lint-stability.rs:188:9
283 |
284 LL | unstable();
285 | ^^^^^^^^
286 |
287 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
288
289 error[E0658]: use of unstable library feature 'unstable_test_feature'
290 --> $DIR/lint-stability.rs:191:9
291 |
292 LL | stable_mod::unstable();
293 | ^^^^^^^^^^^^^^^^^^^^
294 |
295 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
296
297 error[E0658]: use of unstable library feature 'unstable_test_feature'
298 --> $DIR/lint-stability.rs:194:9
299 |
300 LL | unstable_mod::deprecated();
301 | ^^^^^^^^^^^^^^^^^^^^^^^^
302 |
303 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
304
305 error[E0658]: use of unstable library feature 'unstable_test_feature'
306 --> $DIR/lint-stability.rs:195:9
307 |
308 LL | unstable_mod::unstable();
309 | ^^^^^^^^^^^^^^^^^^^^^^
310 |
311 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
312
313 error[E0658]: use of unstable library feature 'unstable_test_feature'
314 --> $DIR/lint-stability.rs:197:17
315 |
316 LL | let _ = Unstable::UnstableVariant;
317 | ^^^^^^^^^^^^^^^^^^^^^^^^^
318 |
319 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
320
321 error[E0658]: use of unstable library feature 'unstable_test_feature'
322 --> $DIR/lint-stability.rs:198:17
323 |
324 LL | let _ = Unstable::StableVariant;
325 | ^^^^^^^^^^^^^^^^^^^^^^^
326 |
327 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
328
329 error[E0658]: use of unstable library feature 'unstable_test_feature'
330 --> $DIR/lint-stability.rs:88:48
331 |
332 LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable);
333 | ^^^^^^^^^^^^^^^
334 |
335 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
336
337 error[E0658]: use of unstable library feature 'unstable_test_feature'
338 --> $DIR/lint-stability.rs:92:13
339 |
340 LL | TypeUnstable = u8,
341 | ^^^^^^^^^^^^^^^^^
342 |
343 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
344
345 error: aborting due to 43 previous errors
346
347 For more information about this error, try `rustc --explain E0658`.