@@ -14,7 +14,7 @@ LL | | }
1414help: replace the manual implementation with a derive attribute
1515 |
1616LL + #[derive(Default)]
17- LL ~ struct FooDefault<'a> {
17+ LL | struct FooDefault<'a> {
1818 |
1919
2020error: this `impl` can be derived
@@ -31,7 +31,7 @@ LL | | }
3131help: replace the manual implementation with a derive attribute
3232 |
3333LL + #[derive(Default)]
34- LL ~ struct TupleDefault(bool, i32, u64);
34+ LL | struct TupleDefault(bool, i32, u64);
3535 |
3636
3737error: this `impl` can be derived
@@ -48,7 +48,7 @@ LL | | }
4848help: replace the manual implementation with a derive attribute
4949 |
5050LL + #[derive(Default)]
51- LL ~ struct StrDefault<'a>(&'a str);
51+ LL | struct StrDefault<'a>(&'a str);
5252 |
5353
5454error: this `impl` can be derived
@@ -65,7 +65,7 @@ LL | | }
6565help: replace the manual implementation with a derive attribute
6666 |
6767LL + #[derive(Default)]
68- LL ~ struct Y(u32);
68+ LL | struct Y(u32);
6969 |
7070
7171error: this `impl` can be derived
@@ -82,7 +82,7 @@ LL | | }
8282help: replace the manual implementation with a derive attribute
8383 |
8484LL + #[derive(Default)]
85- LL ~ struct WithoutSelfCurly {
85+ LL | struct WithoutSelfCurly {
8686 |
8787
8888error: this `impl` can be derived
@@ -99,7 +99,7 @@ LL | | }
9999help: replace the manual implementation with a derive attribute
100100 |
101101LL + #[derive(Default)]
102- LL ~ struct WithoutSelfParan(bool);
102+ LL | struct WithoutSelfParan(bool);
103103 |
104104
105105error: this `impl` can be derived
@@ -115,7 +115,7 @@ LL | | }
115115help: replace the manual implementation with a derive attribute
116116 |
117117LL + #[derive(Default)]
118- LL ~ pub struct DirectDefaultDefaultCall {
118+ LL | pub struct DirectDefaultDefaultCall {
119119 |
120120
121121error: this `impl` can be derived
@@ -131,7 +131,7 @@ LL | | }
131131help: replace the manual implementation with a derive attribute
132132 |
133133LL + #[derive(Default)]
134- LL ~ pub struct EquivalentToDefaultDefaultCallVec {
134+ LL | pub struct EquivalentToDefaultDefaultCallVec {
135135 |
136136
137137error: this `impl` can be derived
@@ -147,7 +147,7 @@ LL | | }
147147help: replace the manual implementation with a derive attribute
148148 |
149149LL + #[derive(Default)]
150- LL ~ pub struct EquivalentToDefaultDefaultCallLocal {
150+ LL | pub struct EquivalentToDefaultDefaultCallLocal {
151151 |
152152
153153error: this `impl` can be derived
@@ -164,7 +164,7 @@ LL | | }
164164help: replace the manual implementation with a derive attribute
165165 |
166166LL + #[derive(Default)]
167- LL ~ pub struct RepeatDefault1 {
167+ LL | pub struct RepeatDefault1 {
168168 |
169169
170170error: this `impl` can be derived
@@ -181,7 +181,7 @@ LL | | }
181181help: replace the manual implementation with a derive attribute and mark the default variant
182182 |
183183LL + #[derive(Default)]
184- LL ~ pub enum SimpleEnum {
184+ LL | pub enum SimpleEnum {
185185LL | Foo,
186186LL ~ #[default]
187187LL ~ Bar,
0 commit comments