fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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