1 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
2 --> $DIR/generics-default-stability.rs:71:29
4 LL | let _: Struct4<isize> = Struct4 { field: 1 };
7 = note: `#[warn(deprecated)]` on by default
9 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
10 --> $DIR/generics-default-stability.rs:71:12
12 LL | let _: Struct4<isize> = Struct4 { field: 1 };
15 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
16 --> $DIR/generics-default-stability.rs:76:12
18 LL | let _: Struct4 = STRUCT4;
21 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
22 --> $DIR/generics-default-stability.rs:77:12
24 LL | let _: Struct4<usize> = STRUCT4;
27 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
28 --> $DIR/generics-default-stability.rs:78:29
30 LL | let _: Struct4<isize> = Struct4 { field: 0 };
33 warning: use of deprecated struct `unstable_generic_param::Struct4`: test
34 --> $DIR/generics-default-stability.rs:78:12
36 LL | let _: Struct4<isize> = Struct4 { field: 0 };
39 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
40 --> $DIR/generics-default-stability.rs:84:29
42 LL | let _: Struct5<isize> = Struct5 { field: 1 };
45 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
46 --> $DIR/generics-default-stability.rs:84:12
48 LL | let _: Struct5<isize> = Struct5 { field: 1 };
51 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
52 --> $DIR/generics-default-stability.rs:89:12
54 LL | let _: Struct5 = STRUCT5;
57 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
58 --> $DIR/generics-default-stability.rs:90:12
60 LL | let _: Struct5<usize> = STRUCT5;
63 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
64 --> $DIR/generics-default-stability.rs:92:29
66 LL | let _: Struct5<isize> = Struct5 { field: 0 };
69 warning: use of deprecated struct `unstable_generic_param::Struct5`: test
70 --> $DIR/generics-default-stability.rs:92:12
72 LL | let _: Struct5<isize> = Struct5 { field: 0 };
75 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
76 --> $DIR/generics-default-stability.rs:147:28
78 LL | let _: Alias4<isize> = Alias4::Some(1);
81 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
82 --> $DIR/generics-default-stability.rs:147:12
84 LL | let _: Alias4<isize> = Alias4::Some(1);
87 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
88 --> $DIR/generics-default-stability.rs:151:12
90 LL | let _: Alias4 = ALIAS4;
93 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
94 --> $DIR/generics-default-stability.rs:152:12
96 LL | let _: Alias4<usize> = ALIAS4;
99 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
100 --> $DIR/generics-default-stability.rs:153:28
102 LL | let _: Alias4<isize> = Alias4::Some(0);
105 warning: use of deprecated type alias `unstable_generic_param::Alias4`: test
106 --> $DIR/generics-default-stability.rs:153:12
108 LL | let _: Alias4<isize> = Alias4::Some(0);
111 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
112 --> $DIR/generics-default-stability.rs:158:28
114 LL | let _: Alias5<isize> = Alias5::Some(1);
117 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
118 --> $DIR/generics-default-stability.rs:158:12
120 LL | let _: Alias5<isize> = Alias5::Some(1);
123 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
124 --> $DIR/generics-default-stability.rs:162:12
126 LL | let _: Alias5 = ALIAS5;
129 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
130 --> $DIR/generics-default-stability.rs:163:12
132 LL | let _: Alias5<usize> = ALIAS5;
135 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
136 --> $DIR/generics-default-stability.rs:165:28
138 LL | let _: Alias5<isize> = Alias5::Some(0);
141 warning: use of deprecated type alias `unstable_generic_param::Alias5`: test
142 --> $DIR/generics-default-stability.rs:165:12
144 LL | let _: Alias5<isize> = Alias5::Some(0);
147 warning: use of deprecated tuple variant `unstable_generic_param::Enum4::Some`: test
148 --> $DIR/generics-default-stability.rs:219:34
150 LL | let _: Enum4<isize> = Enum4::Some(1);
153 warning: use of deprecated enum `unstable_generic_param::Enum4`: test
154 --> $DIR/generics-default-stability.rs:219:12
156 LL | let _: Enum4<isize> = Enum4::Some(1);
159 warning: use of deprecated enum `unstable_generic_param::Enum4`: test
160 --> $DIR/generics-default-stability.rs:223:12
162 LL | let _: Enum4 = ENUM4;
165 warning: use of deprecated enum `unstable_generic_param::Enum4`: test
166 --> $DIR/generics-default-stability.rs:224:12
168 LL | let _: Enum4<usize> = ENUM4;
171 warning: use of deprecated tuple variant `unstable_generic_param::Enum4::Some`: test
172 --> $DIR/generics-default-stability.rs:225:34
174 LL | let _: Enum4<isize> = Enum4::Some(0);
177 warning: use of deprecated enum `unstable_generic_param::Enum4`: test
178 --> $DIR/generics-default-stability.rs:225:12
180 LL | let _: Enum4<isize> = Enum4::Some(0);
183 warning: use of deprecated tuple variant `unstable_generic_param::Enum5::Some`: test
184 --> $DIR/generics-default-stability.rs:230:34
186 LL | let _: Enum5<isize> = Enum5::Some(1);
189 warning: use of deprecated enum `unstable_generic_param::Enum5`: test
190 --> $DIR/generics-default-stability.rs:230:12
192 LL | let _: Enum5<isize> = Enum5::Some(1);
195 warning: use of deprecated enum `unstable_generic_param::Enum5`: test
196 --> $DIR/generics-default-stability.rs:234:12
198 LL | let _: Enum5 = ENUM5;
201 warning: use of deprecated enum `unstable_generic_param::Enum5`: test
202 --> $DIR/generics-default-stability.rs:235:12
204 LL | let _: Enum5<usize> = ENUM5;
207 warning: use of deprecated tuple variant `unstable_generic_param::Enum5::Some`: test
208 --> $DIR/generics-default-stability.rs:237:34
210 LL | let _: Enum5<isize> = Enum5::Some(0);
213 warning: use of deprecated enum `unstable_generic_param::Enum5`: test
214 --> $DIR/generics-default-stability.rs:237:12
216 LL | let _: Enum5<isize> = Enum5::Some(0);
219 error[E0658]: use of unstable library feature 'unstable_default'
220 --> $DIR/generics-default-stability.rs:23:20
222 LL | let _: Struct1<isize> = Struct1 { field: 1 };
225 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
227 error[E0658]: use of unstable library feature 'unstable_default'
228 --> $DIR/generics-default-stability.rs:27:20
230 LL | let _: Struct1<usize> = STRUCT1;
233 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
235 error[E0658]: use of unstable library feature 'unstable_default'
236 --> $DIR/generics-default-stability.rs:28:20
238 LL | let _: Struct1<isize> = Struct1 { field: 0 };
241 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
243 error[E0658]: use of unstable library feature 'unstable_default'
244 --> $DIR/generics-default-stability.rs:57:27
246 LL | let _: Struct3<isize, usize> = STRUCT3;
249 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
251 error[E0658]: use of unstable library feature 'unstable_default'
252 --> $DIR/generics-default-stability.rs:59:27
254 LL | let _: Struct3<isize, isize> = Struct3 { field1: 0, field2: 0 };
257 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
259 error[E0658]: use of unstable library feature 'unstable_default'
260 --> $DIR/generics-default-stability.rs:60:27
262 LL | let _: Struct3<usize, usize> = Struct3 { field1: 0, field2: 0 };
265 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
267 error[E0658]: use of unstable library feature 'unstable_default'
268 --> $DIR/generics-default-stability.rs:84:20
270 LL | let _: Struct5<isize> = Struct5 { field: 1 };
273 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
275 error[E0658]: use of unstable library feature 'unstable_default'
276 --> $DIR/generics-default-stability.rs:90:20
278 LL | let _: Struct5<usize> = STRUCT5;
281 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
283 error[E0658]: use of unstable library feature 'unstable_default'
284 --> $DIR/generics-default-stability.rs:92:20
286 LL | let _: Struct5<isize> = Struct5 { field: 0 };
289 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
291 error[E0658]: use of unstable library feature 'unstable_default'
292 --> $DIR/generics-default-stability.rs:100:19
294 LL | let _: Alias1<isize> = Alias1::Some(1);
297 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
299 error[E0658]: use of unstable library feature 'unstable_default'
300 --> $DIR/generics-default-stability.rs:104:19
302 LL | let _: Alias1<usize> = ALIAS1;
305 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
307 error[E0658]: use of unstable library feature 'unstable_default'
308 --> $DIR/generics-default-stability.rs:105:19
310 LL | let _: Alias1<isize> = Alias1::Some(0);
313 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
315 error[E0658]: use of unstable library feature 'unstable_default'
316 --> $DIR/generics-default-stability.rs:133:26
318 LL | let _: Alias3<isize, usize> = ALIAS3;
321 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
323 error[E0658]: use of unstable library feature 'unstable_default'
324 --> $DIR/generics-default-stability.rs:135:26
326 LL | let _: Alias3<isize, isize> = Alias3::Ok(0);
329 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
331 error[E0658]: use of unstable library feature 'unstable_default'
332 --> $DIR/generics-default-stability.rs:136:26
334 LL | let _: Alias3<usize, usize> = Alias3::Ok(0);
337 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
339 error[E0658]: use of unstable library feature 'unstable_default'
340 --> $DIR/generics-default-stability.rs:158:19
342 LL | let _: Alias5<isize> = Alias5::Some(1);
345 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
347 error[E0658]: use of unstable library feature 'unstable_default'
348 --> $DIR/generics-default-stability.rs:163:19
350 LL | let _: Alias5<usize> = ALIAS5;
353 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
355 error[E0658]: use of unstable library feature 'unstable_default'
356 --> $DIR/generics-default-stability.rs:165:19
358 LL | let _: Alias5<isize> = Alias5::Some(0);
361 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
363 error[E0658]: use of unstable library feature 'unstable_default'
364 --> $DIR/generics-default-stability.rs:172:18
366 LL | let _: Enum1<isize> = Enum1::Some(1);
369 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
371 error[E0658]: use of unstable library feature 'unstable_default'
372 --> $DIR/generics-default-stability.rs:176:18
374 LL | let _: Enum1<usize> = ENUM1;
377 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
379 error[E0658]: use of unstable library feature 'unstable_default'
380 --> $DIR/generics-default-stability.rs:177:18
382 LL | let _: Enum1<isize> = Enum1::Some(0);
385 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
387 error[E0658]: use of unstable library feature 'unstable_default'
388 --> $DIR/generics-default-stability.rs:205:25
390 LL | let _: Enum3<isize, usize> = ENUM3;
393 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
395 error[E0658]: use of unstable library feature 'unstable_default'
396 --> $DIR/generics-default-stability.rs:207:25
398 LL | let _: Enum3<isize, isize> = Enum3::Ok(0);
401 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
403 error[E0658]: use of unstable library feature 'unstable_default'
404 --> $DIR/generics-default-stability.rs:208:25
406 LL | let _: Enum3<usize, usize> = Enum3::Ok(0);
409 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
411 error[E0658]: use of unstable library feature 'unstable_default'
412 --> $DIR/generics-default-stability.rs:230:18
414 LL | let _: Enum5<isize> = Enum5::Some(1);
417 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
419 error[E0658]: use of unstable library feature 'unstable_default'
420 --> $DIR/generics-default-stability.rs:235:18
422 LL | let _: Enum5<usize> = ENUM5;
425 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
427 error[E0658]: use of unstable library feature 'unstable_default'
428 --> $DIR/generics-default-stability.rs:237:18
430 LL | let _: Enum5<isize> = Enum5::Some(0);
433 = help: add `#![feature(unstable_default)]` to the crate attributes to enable
435 error[E0658]: use of unstable library feature 'box_alloc_param'
436 --> $DIR/generics-default-stability.rs:244:24
438 LL | let _: Box1<isize, System> = Box1::new(1);
441 = help: add `#![feature(box_alloc_param)]` to the crate attributes to enable
443 warning: use of deprecated field `unstable_generic_param::Struct4::field`: test
444 --> $DIR/generics-default-stability.rs:71:39
446 LL | let _: Struct4<isize> = Struct4 { field: 1 };
449 warning: use of deprecated field `unstable_generic_param::Struct4::field`: test
450 --> $DIR/generics-default-stability.rs:78:39
452 LL | let _: Struct4<isize> = Struct4 { field: 0 };
455 warning: use of deprecated field `unstable_generic_param::Struct5::field`: test
456 --> $DIR/generics-default-stability.rs:84:39
458 LL | let _: Struct5<isize> = Struct5 { field: 1 };
461 warning: use of deprecated field `unstable_generic_param::Struct5::field`: test
462 --> $DIR/generics-default-stability.rs:92:39
464 LL | let _: Struct5<isize> = Struct5 { field: 0 };
467 error: aborting due to 28 previous errors; 40 warnings emitted
469 For more information about this error, try `rustc --explain E0658`.