@@ -14,7 +14,7 @@ LL | Variant {
14
14
|
15
15
= help: consider a manual implementation of `Default`
16
16
17
- error[E0658]: default values on `struct` fields aren't supported
17
+ error[E0658]: default values on fields are experimental
18
18
--> $DIR/feature-gate-default-field-values.rs:8:15
19
19
|
20
20
LL | pub bar: S = S,
@@ -24,7 +24,7 @@ LL | pub bar: S = S,
24
24
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
25
25
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
26
26
27
- error[E0658]: default values on `struct` fields aren't supported
27
+ error[E0658]: default values on fields are experimental
28
28
--> $DIR/feature-gate-default-field-values.rs:9:17
29
29
|
30
30
LL | pub baz: i32 = 42 + 3,
@@ -34,7 +34,7 @@ LL | pub baz: i32 = 42 + 3,
34
34
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
35
35
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
36
36
37
- error[E0658]: default values on `struct` fields aren't supported
37
+ error[E0658]: default values on fields are experimental
38
38
--> $DIR/feature-gate-default-field-values.rs:16:15
39
39
|
40
40
LL | bar: S = S,
@@ -44,7 +44,7 @@ LL | bar: S = S,
44
44
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
45
45
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
46
46
47
- error[E0658]: default values on `struct` fields aren't supported
47
+ error[E0658]: default values on fields are experimental
48
48
--> $DIR/feature-gate-default-field-values.rs:17:17
49
49
|
50
50
LL | baz: i32 = 42 + 3,
@@ -54,7 +54,7 @@ LL | baz: i32 = 42 + 3,
54
54
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
55
55
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
56
56
57
- error[E0658]: default values on `struct` fields aren't supported
57
+ error[E0658]: default values on fields are experimental
58
58
--> $DIR/feature-gate-default-field-values.rs:23:11
59
59
|
60
60
LL | bar: S = Qux::<A, C>::S,
@@ -64,7 +64,7 @@ LL | bar: S = Qux::<A, C>::S,
64
64
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
65
65
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
66
66
67
- error[E0658]: default values on `struct` fields aren't supported
67
+ error[E0658]: default values on fields are experimental
68
68
--> $DIR/feature-gate-default-field-values.rs:24:13
69
69
|
70
70
LL | baz: i32 = foo(),
@@ -74,7 +74,7 @@ LL | baz: i32 = foo(),
74
74
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
75
75
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
76
76
77
- error[E0658]: default values on `struct` fields aren't supported
77
+ error[E0658]: default values on fields are experimental
78
78
--> $DIR/feature-gate-default-field-values.rs:25:13
79
79
|
80
80
LL | bat: i32 = <Qux<A, C> as T>::K,
@@ -84,7 +84,7 @@ LL | bat: i32 = <Qux<A, C> as T>::K,
84
84
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
85
85
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
86
86
87
- error[E0658]: default values on `struct` fields aren't supported
87
+ error[E0658]: default values on fields are experimental
88
88
--> $DIR/feature-gate-default-field-values.rs:26:13
89
89
|
90
90
LL | bay: i32 = C,
@@ -94,7 +94,7 @@ LL | bay: i32 = C,
94
94
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
95
95
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
96
96
97
- error[E0658]: default values on `struct` fields aren't supported
97
+ error[E0658]: default values on fields are experimental
98
98
--> $DIR/feature-gate-default-field-values.rs:27:16
99
99
|
100
100
LL | bak: Vec<A> = Vec::new(),
@@ -104,7 +104,7 @@ LL | bak: Vec<A> = Vec::new(),
104
104
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
105
105
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
106
106
107
- error[E0658]: default values on `struct` fields aren't supported
107
+ error[E0658]: default values on fields are experimental
108
108
--> $DIR/feature-gate-default-field-values.rs:49:17
109
109
|
110
110
LL | optional: () = (),
@@ -114,7 +114,7 @@ LL | optional: () = (),
114
114
= help: add `#![feature(default_field_values)]` to the crate attributes to enable
115
115
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
116
116
117
- error[E0658]: default values on `struct` fields aren't supported
117
+ error[E0658]: default values on fields are experimental
118
118
--> $DIR/feature-gate-default-field-values.rs:57:21
119
119
|
120
120
LL | optional: () = (),
0 commit comments