Skip to content

Commit de63d25

Browse files
committed
fix: Don't add diff symbol to unchanged lines
1 parent 2c1ceea commit de63d25

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/ui/derivable_impls.stderr

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LL | | }
1414
help: replace the manual implementation with a derive attribute
1515
|
1616
LL + #[derive(Default)]
17-
LL ~ struct FooDefault<'a> {
17+
LL | struct FooDefault<'a> {
1818
|
1919

2020
error: this `impl` can be derived
@@ -31,7 +31,7 @@ LL | | }
3131
help: replace the manual implementation with a derive attribute
3232
|
3333
LL + #[derive(Default)]
34-
LL ~ struct TupleDefault(bool, i32, u64);
34+
LL | struct TupleDefault(bool, i32, u64);
3535
|
3636

3737
error: this `impl` can be derived
@@ -48,7 +48,7 @@ LL | | }
4848
help: replace the manual implementation with a derive attribute
4949
|
5050
LL + #[derive(Default)]
51-
LL ~ struct StrDefault<'a>(&'a str);
51+
LL | struct StrDefault<'a>(&'a str);
5252
|
5353

5454
error: this `impl` can be derived
@@ -65,7 +65,7 @@ LL | | }
6565
help: replace the manual implementation with a derive attribute
6666
|
6767
LL + #[derive(Default)]
68-
LL ~ struct Y(u32);
68+
LL | struct Y(u32);
6969
|
7070

7171
error: this `impl` can be derived
@@ -82,7 +82,7 @@ LL | | }
8282
help: replace the manual implementation with a derive attribute
8383
|
8484
LL + #[derive(Default)]
85-
LL ~ struct WithoutSelfCurly {
85+
LL | struct WithoutSelfCurly {
8686
|
8787

8888
error: this `impl` can be derived
@@ -99,7 +99,7 @@ LL | | }
9999
help: replace the manual implementation with a derive attribute
100100
|
101101
LL + #[derive(Default)]
102-
LL ~ struct WithoutSelfParan(bool);
102+
LL | struct WithoutSelfParan(bool);
103103
|
104104

105105
error: this `impl` can be derived
@@ -115,7 +115,7 @@ LL | | }
115115
help: replace the manual implementation with a derive attribute
116116
|
117117
LL + #[derive(Default)]
118-
LL ~ pub struct DirectDefaultDefaultCall {
118+
LL | pub struct DirectDefaultDefaultCall {
119119
|
120120

121121
error: this `impl` can be derived
@@ -131,7 +131,7 @@ LL | | }
131131
help: replace the manual implementation with a derive attribute
132132
|
133133
LL + #[derive(Default)]
134-
LL ~ pub struct EquivalentToDefaultDefaultCallVec {
134+
LL | pub struct EquivalentToDefaultDefaultCallVec {
135135
|
136136

137137
error: this `impl` can be derived
@@ -147,7 +147,7 @@ LL | | }
147147
help: replace the manual implementation with a derive attribute
148148
|
149149
LL + #[derive(Default)]
150-
LL ~ pub struct EquivalentToDefaultDefaultCallLocal {
150+
LL | pub struct EquivalentToDefaultDefaultCallLocal {
151151
|
152152

153153
error: this `impl` can be derived
@@ -164,7 +164,7 @@ LL | | }
164164
help: replace the manual implementation with a derive attribute
165165
|
166166
LL + #[derive(Default)]
167-
LL ~ pub struct RepeatDefault1 {
167+
LL | pub struct RepeatDefault1 {
168168
|
169169

170170
error: this `impl` can be derived
@@ -181,7 +181,7 @@ LL | | }
181181
help: replace the manual implementation with a derive attribute and mark the default variant
182182
|
183183
LL + #[derive(Default)]
184-
LL ~ pub enum SimpleEnum {
184+
LL | pub enum SimpleEnum {
185185
LL | Foo,
186186
LL ~ #[default]
187187
LL ~ Bar,

0 commit comments

Comments
 (0)