2020-05-17 22:00:19 -05:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:17:13
|
2020-05-17 22:00:19 -05:00
|
|
|
|
|
|
|
|
LL | impl Trait1<usize> for S {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:21:13
|
2020-05-17 22:00:19 -05:00
|
|
|
|
|
|
|
|
LL | impl Trait1<isize> for S {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:25:13
|
2020-05-17 22:00:19 -05:00
|
|
|
|
|
|
|
|
LL | impl Trait2<usize> for S {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
2020-06-25 14:53:47 -05:00
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:84:29
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 1 };
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:84:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 1 };
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:89:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4 = STRUCT4;
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:90:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<usize> = STRUCT4;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:91:29
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 0 };
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:91:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 0 };
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:97:29
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 1 };
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:97:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 1 };
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:102:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5 = STRUCT5;
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:103:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<usize> = STRUCT5;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:105:29
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 0 };
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:105:12
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 0 };
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2020-05-26 15:38:47 -05:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:36:20
|
2020-05-26 15:38:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct1<isize> = Struct1 { field: 1 };
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:40:20
|
2020-05-26 15:38:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct1<usize> = STRUCT1;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:41:20
|
2020-05-26 15:38:47 -05:00
|
|
|
|
|
2020-06-20 16:33:04 -05:00
|
|
|
LL | let _: Struct1<isize> = Struct1 { field: 0 };
|
2020-05-26 15:38:47 -05:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
2020-06-21 23:08:54 -05:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:70:27
|
2020-06-21 23:08:54 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct3<isize, usize> = STRUCT3;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:72:27
|
2020-06-21 23:08:54 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct3<isize, isize> = Struct3 { field1: 0, field2: 0 };
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:73:27
|
2020-06-21 23:08:54 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct3<usize, usize> = Struct3 { field1: 0, field2: 0 };
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
2020-06-25 14:53:47 -05:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:97:20
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 1 };
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:103:20
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<usize> = STRUCT5;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'unstable_default'
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:105:20
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 0 };
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4::field': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:84:39
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 1 };
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct4::field': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:91:39
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct4<isize> = Struct4 { field: 0 };
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5::field': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:97:39
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 1 };
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
warning: use of deprecated item 'unstable_generic_param::Struct5::field': test
|
2020-07-11 18:24:04 -05:00
|
|
|
--> $DIR/generics-default-stability.rs:105:39
|
2020-06-25 14:53:47 -05:00
|
|
|
|
|
|
|
|
LL | let _: Struct5<isize> = Struct5 { field: 0 };
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 12 previous errors; 16 warnings emitted
|
2020-05-17 22:00:19 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|