@@ -8,7 +8,16 @@ LL | extern crate stability_cfg2;
88 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
99
1010error[E0658]: use of unstable library feature `unstable_test_feature`
11- --> $DIR/lint-stability.rs:45:9
11+ --> $DIR/lint-stability.rs:21:34
12+ |
13+ LL | fn test_foreign_type(_: &mut UnstableForeignType) {
14+ | ^^^^^^^^^^^^^^^^^^^
15+ |
16+ = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
17+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
18+
19+ error[E0658]: use of unstable library feature `unstable_test_feature`
20+ --> $DIR/lint-stability.rs:48:9
1221 |
1322LL | deprecated_unstable();
1423 | ^^^^^^^^^^^^^^^^^^^
@@ -17,7 +26,7 @@ LL | deprecated_unstable();
1726 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1827
1928error[E0658]: use of unstable library feature `unstable_test_feature`
20- --> $DIR/lint-stability.rs:47 :9
29+ --> $DIR/lint-stability.rs:50 :9
2130 |
2231LL | Trait::trait_deprecated_unstable(&foo);
2332 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -26,7 +35,7 @@ LL | Trait::trait_deprecated_unstable(&foo);
2635 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2736
2837error[E0658]: use of unstable library feature `unstable_test_feature`
29- --> $DIR/lint-stability.rs:49 :9
38+ --> $DIR/lint-stability.rs:52 :9
3039 |
3140LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
3241 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -35,7 +44,7 @@ LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
3544 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3645
3746error[E0658]: use of unstable library feature `unstable_test_feature`
38- --> $DIR/lint-stability.rs:52 :9
47+ --> $DIR/lint-stability.rs:55 :9
3948 |
4049LL | deprecated_unstable_text();
4150 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -44,7 +53,7 @@ LL | deprecated_unstable_text();
4453 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4554
4655error[E0658]: use of unstable library feature `unstable_test_feature`
47- --> $DIR/lint-stability.rs:54 :9
56+ --> $DIR/lint-stability.rs:57 :9
4857 |
4958LL | Trait::trait_deprecated_unstable_text(&foo);
5059 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -53,7 +62,7 @@ LL | Trait::trait_deprecated_unstable_text(&foo);
5362 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5463
5564error[E0658]: use of unstable library feature `unstable_test_feature`
56- --> $DIR/lint-stability.rs:56 :9
65+ --> $DIR/lint-stability.rs:59 :9
5766 |
5867LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
5968 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -62,7 +71,7 @@ LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
6271 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6372
6473error[E0658]: use of unstable library feature `unstable_test_feature`
65- --> $DIR/lint-stability.rs:59 :9
74+ --> $DIR/lint-stability.rs:62 :9
6675 |
6776LL | unstable();
6877 | ^^^^^^^^
@@ -71,7 +80,7 @@ LL | unstable();
7180 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7281
7382error[E0658]: use of unstable library feature `unstable_test_feature`
74- --> $DIR/lint-stability.rs:60 :9
83+ --> $DIR/lint-stability.rs:63 :9
7584 |
7685LL | Trait::trait_unstable(&foo);
7786 | ^^^^^^^^^^^^^^^^^^^^^
@@ -80,7 +89,7 @@ LL | Trait::trait_unstable(&foo);
8089 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
8190
8291error[E0658]: use of unstable library feature `unstable_test_feature`
83- --> $DIR/lint-stability.rs:61 :9
92+ --> $DIR/lint-stability.rs:64 :9
8493 |
8594LL | <Foo as Trait>::trait_unstable(&foo);
8695 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -89,7 +98,7 @@ LL | <Foo as Trait>::trait_unstable(&foo);
8998 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
9099
91100error[E0658]: use of unstable library feature `unstable_test_feature`: text
92- --> $DIR/lint-stability.rs:63 :9
101+ --> $DIR/lint-stability.rs:66 :9
93102 |
94103LL | unstable_text();
95104 | ^^^^^^^^^^^^^
@@ -98,7 +107,7 @@ LL | unstable_text();
98107 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
99108
100109error[E0658]: use of unstable library feature `unstable_test_feature`: text
101- --> $DIR/lint-stability.rs:65 :9
110+ --> $DIR/lint-stability.rs:68 :9
102111 |
103112LL | Trait::trait_unstable_text(&foo);
104113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -107,7 +116,7 @@ LL | Trait::trait_unstable_text(&foo);
107116 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
108117
109118error[E0658]: use of unstable library feature `unstable_test_feature`: text
110- --> $DIR/lint-stability.rs:67 :9
119+ --> $DIR/lint-stability.rs:70 :9
111120 |
112121LL | <Foo as Trait>::trait_unstable_text(&foo);
113122 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -116,7 +125,7 @@ LL | <Foo as Trait>::trait_unstable_text(&foo);
116125 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
117126
118127error[E0658]: use of unstable library feature `unstable_test_feature`
119- --> $DIR/lint-stability.rs:99 :17
128+ --> $DIR/lint-stability.rs:102 :17
120129 |
121130LL | let _ = DeprecatedUnstableStruct {
122131 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -125,7 +134,7 @@ LL | let _ = DeprecatedUnstableStruct {
125134 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
126135
127136error[E0658]: use of unstable library feature `unstable_test_feature`
128- --> $DIR/lint-stability.rs:103 :17
137+ --> $DIR/lint-stability.rs:106 :17
129138 |
130139LL | let _ = UnstableStruct { i: 0 };
131140 | ^^^^^^^^^^^^^^
@@ -134,7 +143,7 @@ LL | let _ = UnstableStruct { i: 0 };
134143 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
135144
136145error[E0658]: use of unstable library feature `unstable_test_feature`
137- --> $DIR/lint-stability.rs:107 :17
146+ --> $DIR/lint-stability.rs:110 :17
138147 |
139148LL | let _ = DeprecatedUnstableUnitStruct;
140149 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -143,7 +152,7 @@ LL | let _ = DeprecatedUnstableUnitStruct;
143152 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
144153
145154error[E0658]: use of unstable library feature `unstable_test_feature`
146- --> $DIR/lint-stability.rs:109 :17
155+ --> $DIR/lint-stability.rs:112 :17
147156 |
148157LL | let _ = UnstableUnitStruct;
149158 | ^^^^^^^^^^^^^^^^^^
@@ -152,7 +161,7 @@ LL | let _ = UnstableUnitStruct;
152161 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
153162
154163error[E0658]: use of unstable library feature `unstable_test_feature`
155- --> $DIR/lint-stability.rs:113 :17
164+ --> $DIR/lint-stability.rs:116 :17
156165 |
157166LL | let _ = Enum::DeprecatedUnstableVariant;
158167 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -161,7 +170,7 @@ LL | let _ = Enum::DeprecatedUnstableVariant;
161170 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
162171
163172error[E0658]: use of unstable library feature `unstable_test_feature`
164- --> $DIR/lint-stability.rs:115 :17
173+ --> $DIR/lint-stability.rs:118 :17
165174 |
166175LL | let _ = Enum::UnstableVariant;
167176 | ^^^^^^^^^^^^^^^^^^^^^
@@ -170,7 +179,7 @@ LL | let _ = Enum::UnstableVariant;
170179 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
171180
172181error[E0658]: use of unstable library feature `unstable_test_feature`
173- --> $DIR/lint-stability.rs:119 :17
182+ --> $DIR/lint-stability.rs:122 :17
174183 |
175184LL | let _ = DeprecatedUnstableTupleStruct (1);
176185 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -179,7 +188,7 @@ LL | let _ = DeprecatedUnstableTupleStruct (1);
179188 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
180189
181190error[E0658]: use of unstable library feature `unstable_test_feature`
182- --> $DIR/lint-stability.rs:121 :17
191+ --> $DIR/lint-stability.rs:124 :17
183192 |
184193LL | let _ = UnstableTupleStruct (1);
185194 | ^^^^^^^^^^^^^^^^^^^
@@ -188,7 +197,7 @@ LL | let _ = UnstableTupleStruct (1);
188197 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
189198
190199error[E0658]: use of unstable library feature `unstable_test_feature`
191- --> $DIR/lint-stability.rs:130 :25
200+ --> $DIR/lint-stability.rs:133 :25
192201 |
193202LL | macro_test_arg!(deprecated_unstable_text());
194203 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -197,7 +206,7 @@ LL | macro_test_arg!(deprecated_unstable_text());
197206 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
198207
199208error[E0658]: use of unstable library feature `unstable_test_feature`
200- --> $DIR/lint-stability.rs:144 :9
209+ --> $DIR/lint-stability.rs:147 :9
201210 |
202211LL | Trait::trait_deprecated_unstable(&foo);
203212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -206,7 +215,7 @@ LL | Trait::trait_deprecated_unstable(&foo);
206215 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
207216
208217error[E0658]: use of unstable library feature `unstable_test_feature`
209- --> $DIR/lint-stability.rs:146 :9
218+ --> $DIR/lint-stability.rs:149 :9
210219 |
211220LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
212221 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -215,7 +224,7 @@ LL | <Foo as Trait>::trait_deprecated_unstable(&foo);
215224 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
216225
217226error[E0658]: use of unstable library feature `unstable_test_feature`
218- --> $DIR/lint-stability.rs:148 :9
227+ --> $DIR/lint-stability.rs:151 :9
219228 |
220229LL | Trait::trait_deprecated_unstable_text(&foo);
221230 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -224,7 +233,7 @@ LL | Trait::trait_deprecated_unstable_text(&foo);
224233 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
225234
226235error[E0658]: use of unstable library feature `unstable_test_feature`
227- --> $DIR/lint-stability.rs:150 :9
236+ --> $DIR/lint-stability.rs:153 :9
228237 |
229238LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
230239 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -233,7 +242,7 @@ LL | <Foo as Trait>::trait_deprecated_unstable_text(&foo);
233242 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
234243
235244error[E0658]: use of unstable library feature `unstable_test_feature`
236- --> $DIR/lint-stability.rs:152 :9
245+ --> $DIR/lint-stability.rs:155 :9
237246 |
238247LL | Trait::trait_unstable(&foo);
239248 | ^^^^^^^^^^^^^^^^^^^^^
@@ -242,7 +251,7 @@ LL | Trait::trait_unstable(&foo);
242251 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
243252
244253error[E0658]: use of unstable library feature `unstable_test_feature`
245- --> $DIR/lint-stability.rs:153 :9
254+ --> $DIR/lint-stability.rs:156 :9
246255 |
247256LL | <Foo as Trait>::trait_unstable(&foo);
248257 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -251,7 +260,7 @@ LL | <Foo as Trait>::trait_unstable(&foo);
251260 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
252261
253262error[E0658]: use of unstable library feature `unstable_test_feature`: text
254- --> $DIR/lint-stability.rs:154 :9
263+ --> $DIR/lint-stability.rs:157 :9
255264 |
256265LL | Trait::trait_unstable_text(&foo);
257266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -260,7 +269,7 @@ LL | Trait::trait_unstable_text(&foo);
260269 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
261270
262271error[E0658]: use of unstable library feature `unstable_test_feature`: text
263- --> $DIR/lint-stability.rs:156 :9
272+ --> $DIR/lint-stability.rs:159 :9
264273 |
265274LL | <Foo as Trait>::trait_unstable_text(&foo);
266275 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -269,7 +278,7 @@ LL | <Foo as Trait>::trait_unstable_text(&foo);
269278 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
270279
271280error[E0658]: use of unstable library feature `unstable_test_feature`
272- --> $DIR/lint-stability.rs:172 :10
281+ --> $DIR/lint-stability.rs:175 :10
273282 |
274283LL | impl UnstableTrait for S { }
275284 | ^^^^^^^^^^^^^
@@ -278,7 +287,7 @@ LL | impl UnstableTrait for S { }
278287 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
279288
280289error[E0658]: use of unstable library feature `unstable_test_feature`
281- --> $DIR/lint-stability.rs:174 :24
290+ --> $DIR/lint-stability.rs:177 :24
282291 |
283292LL | trait LocalTrait : UnstableTrait { }
284293 | ^^^^^^^^^^^^^
@@ -287,7 +296,7 @@ LL | trait LocalTrait : UnstableTrait { }
287296 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
288297
289298error[E0658]: use of unstable library feature `unstable_test_feature`
290- --> $DIR/lint-stability.rs:179 :9
299+ --> $DIR/lint-stability.rs:182 :9
291300 |
292301LL | fn trait_unstable(&self) {}
293302 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -296,7 +305,7 @@ LL | fn trait_unstable(&self) {}
296305 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
297306
298307error[E0658]: use of unstable library feature `unstable_test_feature`
299- --> $DIR/lint-stability.rs:184 :5
308+ --> $DIR/lint-stability.rs:187 :5
300309 |
301310LL | extern crate inherited_stability;
302311 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -305,7 +314,7 @@ LL | extern crate inherited_stability;
305314 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
306315
307316error[E0658]: use of unstable library feature `unstable_test_feature`
308- --> $DIR/lint-stability.rs:185 :9
317+ --> $DIR/lint-stability.rs:188 :9
309318 |
310319LL | use self::inherited_stability::*;
311320 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -314,7 +323,7 @@ LL | use self::inherited_stability::*;
314323 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
315324
316325error[E0658]: use of unstable library feature `unstable_test_feature`
317- --> $DIR/lint-stability.rs:188 :9
326+ --> $DIR/lint-stability.rs:191 :9
318327 |
319328LL | unstable();
320329 | ^^^^^^^^
@@ -323,7 +332,7 @@ LL | unstable();
323332 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
324333
325334error[E0658]: use of unstable library feature `unstable_test_feature`
326- --> $DIR/lint-stability.rs:191 :9
335+ --> $DIR/lint-stability.rs:194 :9
327336 |
328337LL | stable_mod::unstable();
329338 | ^^^^^^^^^^^^^^^^^^^^
@@ -332,7 +341,7 @@ LL | stable_mod::unstable();
332341 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
333342
334343error[E0658]: use of unstable library feature `unstable_test_feature`
335- --> $DIR/lint-stability.rs:194 :9
344+ --> $DIR/lint-stability.rs:197 :9
336345 |
337346LL | unstable_mod::deprecated();
338347 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -341,7 +350,7 @@ LL | unstable_mod::deprecated();
341350 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
342351
343352error[E0658]: use of unstable library feature `unstable_test_feature`
344- --> $DIR/lint-stability.rs:195 :9
353+ --> $DIR/lint-stability.rs:198 :9
345354 |
346355LL | unstable_mod::unstable();
347356 | ^^^^^^^^^^^^^^^^^^^^^^
@@ -350,7 +359,7 @@ LL | unstable_mod::unstable();
350359 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
351360
352361error[E0658]: use of unstable library feature `unstable_test_feature`
353- --> $DIR/lint-stability.rs:197 :17
362+ --> $DIR/lint-stability.rs:200 :17
354363 |
355364LL | let _ = Unstable::UnstableVariant;
356365 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -359,7 +368,7 @@ LL | let _ = Unstable::UnstableVariant;
359368 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
360369
361370error[E0658]: use of unstable library feature `unstable_test_feature`
362- --> $DIR/lint-stability.rs:198 :17
371+ --> $DIR/lint-stability.rs:201 :17
363372 |
364373LL | let _ = Unstable::StableVariant;
365374 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -368,7 +377,7 @@ LL | let _ = Unstable::StableVariant;
368377 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
369378
370379error[E0658]: use of unstable library feature `unstable_test_feature`
371- --> $DIR/lint-stability.rs:88 :48
380+ --> $DIR/lint-stability.rs:91 :48
372381 |
373382LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable);
374383 | ^^^^^^^^^^^^^^^
@@ -377,14 +386,14 @@ LL | struct S1<T: TraitWithAssociatedTypes>(T::TypeUnstable);
377386 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
378387
379388error[E0658]: use of unstable library feature `unstable_test_feature`
380- --> $DIR/lint-stability.rs:92 :13
389+ --> $DIR/lint-stability.rs:95 :13
381390 |
382391LL | TypeUnstable = u8,
383392 | ^^^^^^^^^^^^^^^^^
384393 |
385394 = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
386395 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
387396
388- error: aborting due to 43 previous errors
397+ error: aborting due to 44 previous errors
389398
390399For more information about this error, try `rustc --explain E0658`.
0 commit comments