@@ -130,7 +130,10 @@ error[E0797]: base expression required after `..`
130130LL | let x = Foo { .. };
131131 | ^
132132 |
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+ |
134137help: add a base expression here
135138 |
136139LL | let x = Foo { ../* expr */ };
@@ -142,7 +145,10 @@ error[E0797]: base expression required after `..`
142145LL | let z = Foo { baz: 1, .. };
143146 | ^
144147 |
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+ |
146152help: add a base expression here
147153 |
148154LL | let z = Foo { baz: 1, ../* expr */ };
@@ -154,7 +160,10 @@ error[E0797]: base expression required after `..`
154160LL | let x = Bar::Foo { .. };
155161 | ^
156162 |
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+ |
158167help: add a base expression here
159168 |
160169LL | let x = Bar::Foo { ../* expr */ };
@@ -166,7 +175,10 @@ error[E0797]: base expression required after `..`
166175LL | let z = Bar::Foo { baz: 1, .. };
167176 | ^
168177 |
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+ |
170182help: add a base expression here
171183 |
172184LL | let z = Bar::Foo { baz: 1, ../* expr */ };
@@ -178,7 +190,10 @@ error[E0797]: base expression required after `..`
178190LL | let x = Qux::<i32, 4> { .. };
179191 | ^
180192 |
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+ |
182197help: add a base expression here
183198 |
184199LL | let x = Qux::<i32, 4> { ../* expr */ };
@@ -190,7 +205,10 @@ error[E0797]: base expression required after `..`
190205LL | assert!(matches!(Qux::<i32, 4> { bar: S, baz: 42, bat: 2, bay: 4, .. }, x));
191206 | ^
192207 |
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+ |
194212help: add a base expression here
195213 |
196214LL | 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 `..`
202220LL | let y = Opt { mandatory: None, .. };
203221 | ^
204222 |
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+ |
206227help: add a base expression here
207228 |
208229LL | let y = Opt { mandatory: None, ../* expr */ };
@@ -214,7 +235,10 @@ error[E0797]: base expression required after `..`
214235LL | assert!(matches!(Opt { mandatory: None, .. }, z));
215236 | ^
216237 |
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+ |
218242help: add a base expression here
219243 |
220244LL | assert!(matches!(Opt { mandatory: None, ../* expr */ }, z));
@@ -260,7 +284,10 @@ error[E0797]: base expression required after `..`
260284LL | let y = OptEnum::Variant { mandatory: None, .. };
261285 | ^
262286 |
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+ |
264291help: add a base expression here
265292 |
266293LL | let y = OptEnum::Variant { mandatory: None, ../* expr */ };
@@ -272,7 +299,10 @@ error[E0797]: base expression required after `..`
272299LL | assert!(matches!(OptEnum::Variant { mandatory: None, .. }, z));
273300 | ^
274301 |
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+ |
276306help: add a base expression here
277307 |
278308LL | assert!(matches!(OptEnum::Variant { mandatory: None, ../* expr */ }, z));
0 commit comments