Skip to content

Commit 94888f0

Browse files
committed
update bless output
Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
1 parent 2592b41 commit 94888f0

1 file changed

Lines changed: 52 additions & 43 deletions

File tree

tests/ui/lint/lint-stability.stderr

Lines changed: 52 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1010
error[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
|
1322
LL | 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

1928
error[E0658]: use of unstable library feature `unstable_test_feature`
20-
--> $DIR/lint-stability.rs:47:9
29+
--> $DIR/lint-stability.rs:50:9
2130
|
2231
LL | 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

2837
error[E0658]: use of unstable library feature `unstable_test_feature`
29-
--> $DIR/lint-stability.rs:49:9
38+
--> $DIR/lint-stability.rs:52:9
3039
|
3140
LL | <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

3746
error[E0658]: use of unstable library feature `unstable_test_feature`
38-
--> $DIR/lint-stability.rs:52:9
47+
--> $DIR/lint-stability.rs:55:9
3948
|
4049
LL | 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

4655
error[E0658]: use of unstable library feature `unstable_test_feature`
47-
--> $DIR/lint-stability.rs:54:9
56+
--> $DIR/lint-stability.rs:57:9
4857
|
4958
LL | 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

5564
error[E0658]: use of unstable library feature `unstable_test_feature`
56-
--> $DIR/lint-stability.rs:56:9
65+
--> $DIR/lint-stability.rs:59:9
5766
|
5867
LL | <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

6473
error[E0658]: use of unstable library feature `unstable_test_feature`
65-
--> $DIR/lint-stability.rs:59:9
74+
--> $DIR/lint-stability.rs:62:9
6675
|
6776
LL | 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

7382
error[E0658]: use of unstable library feature `unstable_test_feature`
74-
--> $DIR/lint-stability.rs:60:9
83+
--> $DIR/lint-stability.rs:63:9
7584
|
7685
LL | 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

8291
error[E0658]: use of unstable library feature `unstable_test_feature`
83-
--> $DIR/lint-stability.rs:61:9
92+
--> $DIR/lint-stability.rs:64:9
8493
|
8594
LL | <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

91100
error[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
|
94103
LL | 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

100109
error[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
|
103112
LL | 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

109118
error[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
|
112121
LL | <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

118127
error[E0658]: use of unstable library feature `unstable_test_feature`
119-
--> $DIR/lint-stability.rs:99:17
128+
--> $DIR/lint-stability.rs:102:17
120129
|
121130
LL | 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

127136
error[E0658]: use of unstable library feature `unstable_test_feature`
128-
--> $DIR/lint-stability.rs:103:17
137+
--> $DIR/lint-stability.rs:106:17
129138
|
130139
LL | 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

136145
error[E0658]: use of unstable library feature `unstable_test_feature`
137-
--> $DIR/lint-stability.rs:107:17
146+
--> $DIR/lint-stability.rs:110:17
138147
|
139148
LL | 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

145154
error[E0658]: use of unstable library feature `unstable_test_feature`
146-
--> $DIR/lint-stability.rs:109:17
155+
--> $DIR/lint-stability.rs:112:17
147156
|
148157
LL | 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

154163
error[E0658]: use of unstable library feature `unstable_test_feature`
155-
--> $DIR/lint-stability.rs:113:17
164+
--> $DIR/lint-stability.rs:116:17
156165
|
157166
LL | 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

163172
error[E0658]: use of unstable library feature `unstable_test_feature`
164-
--> $DIR/lint-stability.rs:115:17
173+
--> $DIR/lint-stability.rs:118:17
165174
|
166175
LL | 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

172181
error[E0658]: use of unstable library feature `unstable_test_feature`
173-
--> $DIR/lint-stability.rs:119:17
182+
--> $DIR/lint-stability.rs:122:17
174183
|
175184
LL | 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

181190
error[E0658]: use of unstable library feature `unstable_test_feature`
182-
--> $DIR/lint-stability.rs:121:17
191+
--> $DIR/lint-stability.rs:124:17
183192
|
184193
LL | 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

190199
error[E0658]: use of unstable library feature `unstable_test_feature`
191-
--> $DIR/lint-stability.rs:130:25
200+
--> $DIR/lint-stability.rs:133:25
192201
|
193202
LL | 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

199208
error[E0658]: use of unstable library feature `unstable_test_feature`
200-
--> $DIR/lint-stability.rs:144:9
209+
--> $DIR/lint-stability.rs:147:9
201210
|
202211
LL | 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

208217
error[E0658]: use of unstable library feature `unstable_test_feature`
209-
--> $DIR/lint-stability.rs:146:9
218+
--> $DIR/lint-stability.rs:149:9
210219
|
211220
LL | <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

217226
error[E0658]: use of unstable library feature `unstable_test_feature`
218-
--> $DIR/lint-stability.rs:148:9
227+
--> $DIR/lint-stability.rs:151:9
219228
|
220229
LL | 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

226235
error[E0658]: use of unstable library feature `unstable_test_feature`
227-
--> $DIR/lint-stability.rs:150:9
236+
--> $DIR/lint-stability.rs:153:9
228237
|
229238
LL | <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

235244
error[E0658]: use of unstable library feature `unstable_test_feature`
236-
--> $DIR/lint-stability.rs:152:9
245+
--> $DIR/lint-stability.rs:155:9
237246
|
238247
LL | 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

244253
error[E0658]: use of unstable library feature `unstable_test_feature`
245-
--> $DIR/lint-stability.rs:153:9
254+
--> $DIR/lint-stability.rs:156:9
246255
|
247256
LL | <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

253262
error[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
|
256265
LL | 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

262271
error[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
|
265274
LL | <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

271280
error[E0658]: use of unstable library feature `unstable_test_feature`
272-
--> $DIR/lint-stability.rs:172:10
281+
--> $DIR/lint-stability.rs:175:10
273282
|
274283
LL | 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

280289
error[E0658]: use of unstable library feature `unstable_test_feature`
281-
--> $DIR/lint-stability.rs:174:24
290+
--> $DIR/lint-stability.rs:177:24
282291
|
283292
LL | 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

289298
error[E0658]: use of unstable library feature `unstable_test_feature`
290-
--> $DIR/lint-stability.rs:179:9
299+
--> $DIR/lint-stability.rs:182:9
291300
|
292301
LL | 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

298307
error[E0658]: use of unstable library feature `unstable_test_feature`
299-
--> $DIR/lint-stability.rs:184:5
308+
--> $DIR/lint-stability.rs:187:5
300309
|
301310
LL | 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

307316
error[E0658]: use of unstable library feature `unstable_test_feature`
308-
--> $DIR/lint-stability.rs:185:9
317+
--> $DIR/lint-stability.rs:188:9
309318
|
310319
LL | 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

316325
error[E0658]: use of unstable library feature `unstable_test_feature`
317-
--> $DIR/lint-stability.rs:188:9
326+
--> $DIR/lint-stability.rs:191:9
318327
|
319328
LL | 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

325334
error[E0658]: use of unstable library feature `unstable_test_feature`
326-
--> $DIR/lint-stability.rs:191:9
335+
--> $DIR/lint-stability.rs:194:9
327336
|
328337
LL | 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

334343
error[E0658]: use of unstable library feature `unstable_test_feature`
335-
--> $DIR/lint-stability.rs:194:9
344+
--> $DIR/lint-stability.rs:197:9
336345
|
337346
LL | 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

343352
error[E0658]: use of unstable library feature `unstable_test_feature`
344-
--> $DIR/lint-stability.rs:195:9
353+
--> $DIR/lint-stability.rs:198:9
345354
|
346355
LL | 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

352361
error[E0658]: use of unstable library feature `unstable_test_feature`
353-
--> $DIR/lint-stability.rs:197:17
362+
--> $DIR/lint-stability.rs:200:17
354363
|
355364
LL | 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

361370
error[E0658]: use of unstable library feature `unstable_test_feature`
362-
--> $DIR/lint-stability.rs:198:17
371+
--> $DIR/lint-stability.rs:201:17
363372
|
364373
LL | 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

370379
error[E0658]: use of unstable library feature `unstable_test_feature`
371-
--> $DIR/lint-stability.rs:88:48
380+
--> $DIR/lint-stability.rs:91:48
372381
|
373382
LL | 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

379388
error[E0658]: use of unstable library feature `unstable_test_feature`
380-
--> $DIR/lint-stability.rs:92:13
389+
--> $DIR/lint-stability.rs:95:13
381390
|
382391
LL | 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

390399
For more information about this error, try `rustc --explain E0658`.

0 commit comments

Comments
 (0)