@@ -58,8 +58,7 @@ LL | | x: Default::default(),
5858 | | ------------------
5959LL | | y: 0,
6060 | | - these are the same values the expansion of `#[derive(Default)]` would use
61- LL | | }
62- LL | | }
61+ ... |
6362LL | | }
6463 | |_^
6564 |
@@ -76,8 +75,7 @@ LL | | fn default() -> Self {
7675LL | | E {
7776LL | | x: None,
7877 | | ---- this is the same value the expansion of `#[derive(Default)]` would use
79- LL | | }
80- LL | | }
78+ ... |
8179LL | | }
8280 | |_^
8381 |
@@ -111,8 +109,7 @@ LL | | fn default() -> Self {
111109LL | | G {
112110LL | | f: F::Unit,
113111 | | ------- this is the same value the expansion of `#[derive(Default)]` would use
114- LL | | }
115- LL | | }
112+ ... |
116113LL | | }
117114 | |_^
118115 |
@@ -133,8 +130,7 @@ LL | / impl Default for H {
133130LL | | fn default() -> Self {
134131LL | | H {
135132LL | | x: 1,
136- LL | | }
137- LL | | }
133+ ... |
138134LL | | }
139135 | |_^
140136 |
@@ -163,7 +159,6 @@ LL | | fn default() -> Self {
163159LL | | I {
164160LL | | x: 1,
165161... |
166- LL | | }
167162LL | | }
168163 | |_^
169164 |
@@ -180,8 +175,7 @@ LL | | fn default() -> Self {
180175LL | | J {
181176LL | | x: foo(), // fn call that isn't an assoc fn
182177 | | ----- this is the same value the expansion of `#[derive(Default)]` would use
183- LL | | }
184- LL | | }
178+ ... |
185179LL | | }
186180 | |_^
187181 |
@@ -198,8 +192,7 @@ LL | | fn default() -> Self {
198192LL | | L {
199193LL | | x: Vec::new(), // `<Vec as Default>::default()` just calls `Vec::new()`
200194 | | ---------- this is the same value the expansion of `#[derive(Default)]` would use
201- LL | | }
202- LL | | }
195+ ... |
203196LL | | }
204197 | |_^
205198 |
@@ -216,8 +209,7 @@ LL | | fn default() -> Self {
216209LL | | M {
217210LL | | x: N_CONST,
218211 | | ------- this is the same value the expansion of `#[derive(Default)]` would use
219- LL | | }
220- LL | | }
212+ ... |
221213LL | | }
222214 | |_^
223215 |
0 commit comments