@@ -130,7 +130,10 @@ error[E0797]: base expression required after `..`
130
130
LL | let x = Foo { .. };
131
131
| ^
132
132
|
133
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
133
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
134
+ |
135
+ LL + #![feature(default_field_values)]
136
+ |
134
137
help: add a base expression here
135
138
|
136
139
LL | let x = Foo { ../* expr */ };
@@ -142,7 +145,10 @@ error[E0797]: base expression required after `..`
142
145
LL | let z = Foo { baz: 1, .. };
143
146
| ^
144
147
|
145
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
148
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
149
+ |
150
+ LL + #![feature(default_field_values)]
151
+ |
146
152
help: add a base expression here
147
153
|
148
154
LL | let z = Foo { baz: 1, ../* expr */ };
@@ -154,7 +160,10 @@ error[E0797]: base expression required after `..`
154
160
LL | let x = Bar::Foo { .. };
155
161
| ^
156
162
|
157
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
163
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
164
+ |
165
+ LL + #![feature(default_field_values)]
166
+ |
158
167
help: add a base expression here
159
168
|
160
169
LL | let x = Bar::Foo { ../* expr */ };
@@ -166,7 +175,10 @@ error[E0797]: base expression required after `..`
166
175
LL | let z = Bar::Foo { baz: 1, .. };
167
176
| ^
168
177
|
169
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
178
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
179
+ |
180
+ LL + #![feature(default_field_values)]
181
+ |
170
182
help: add a base expression here
171
183
|
172
184
LL | let z = Bar::Foo { baz: 1, ../* expr */ };
@@ -178,7 +190,10 @@ error[E0797]: base expression required after `..`
178
190
LL | let x = Qux::<i32, 4> { .. };
179
191
| ^
180
192
|
181
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
193
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
194
+ |
195
+ LL + #![feature(default_field_values)]
196
+ |
182
197
help: add a base expression here
183
198
|
184
199
LL | let x = Qux::<i32, 4> { ../* expr */ };
@@ -190,7 +205,10 @@ error[E0797]: base expression required after `..`
190
205
LL | assert!(matches!(Qux::<i32, 4> { bar: S, baz: 42, bat: 2, bay: 4, .. }, x));
191
206
| ^
192
207
|
193
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
208
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
209
+ |
210
+ LL + #![feature(default_field_values)]
211
+ |
194
212
help: add a base expression here
195
213
|
196
214
LL | assert!(matches!(Qux::<i32, 4> { bar: S, baz: 42, bat: 2, bay: 4, ../* expr */ }, x));
@@ -202,7 +220,10 @@ error[E0797]: base expression required after `..`
202
220
LL | let y = Opt { mandatory: None, .. };
203
221
| ^
204
222
|
205
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
223
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
224
+ |
225
+ LL + #![feature(default_field_values)]
226
+ |
206
227
help: add a base expression here
207
228
|
208
229
LL | let y = Opt { mandatory: None, ../* expr */ };
@@ -214,7 +235,10 @@ error[E0797]: base expression required after `..`
214
235
LL | assert!(matches!(Opt { mandatory: None, .. }, z));
215
236
| ^
216
237
|
217
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
238
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
239
+ |
240
+ LL + #![feature(default_field_values)]
241
+ |
218
242
help: add a base expression here
219
243
|
220
244
LL | assert!(matches!(Opt { mandatory: None, ../* expr */ }, z));
@@ -260,7 +284,10 @@ error[E0797]: base expression required after `..`
260
284
LL | let y = OptEnum::Variant { mandatory: None, .. };
261
285
| ^
262
286
|
263
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
287
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
288
+ |
289
+ LL + #![feature(default_field_values)]
290
+ |
264
291
help: add a base expression here
265
292
|
266
293
LL | let y = OptEnum::Variant { mandatory: None, ../* expr */ };
@@ -272,7 +299,10 @@ error[E0797]: base expression required after `..`
272
299
LL | assert!(matches!(OptEnum::Variant { mandatory: None, .. }, z));
273
300
| ^
274
301
|
275
- = help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
302
+ help: add `#![feature(default_field_values)]` to the crate attributes to enable default values on `struct` fields
303
+ |
304
+ LL + #![feature(default_field_values)]
305
+ |
276
306
help: add a base expression here
277
307
|
278
308
LL | assert!(matches!(OptEnum::Variant { mandatory: None, ../* expr */ }, z));
0 commit comments