|
1 | 1 | error: you should consider adding a `Default` implementation for `Foo`
|
2 |
| - --> $DIR/new_without_default.rs:8:5 |
| 2 | + --> $DIR/new_without_default.rs:7:5 |
3 | 3 | |
|
4 | 4 | LL | / pub fn new() -> Foo {
|
5 | 5 | LL | | Foo
|
|
17 | 17 | |
|
18 | 18 |
|
19 | 19 | error: you should consider adding a `Default` implementation for `Bar`
|
20 |
| - --> $DIR/new_without_default.rs:16:5 |
| 20 | + --> $DIR/new_without_default.rs:15:5 |
21 | 21 | |
|
22 | 22 | LL | / pub fn new() -> Self {
|
23 | 23 | LL | | Bar
|
|
34 | 34 | |
|
35 | 35 |
|
36 | 36 | error: you should consider adding a `Default` implementation for `LtKo<'c>`
|
37 |
| - --> $DIR/new_without_default.rs:80:5 |
| 37 | + --> $DIR/new_without_default.rs:79:5 |
38 | 38 | |
|
39 | 39 | LL | / pub fn new() -> LtKo<'c> {
|
40 | 40 | LL | | unimplemented!()
|
|
51 | 51 | |
|
52 | 52 |
|
53 | 53 | error: you should consider adding a `Default` implementation for `NewNotEqualToDerive`
|
54 |
| - --> $DIR/new_without_default.rs:157:5 |
| 54 | + --> $DIR/new_without_default.rs:156:5 |
55 | 55 | |
|
56 | 56 | LL | / pub fn new() -> Self {
|
57 | 57 | LL | | NewNotEqualToDerive { foo: 1 }
|
|
68 | 68 | |
|
69 | 69 |
|
70 | 70 | error: you should consider adding a `Default` implementation for `FooGenerics<T>`
|
71 |
| - --> $DIR/new_without_default.rs:165:5 |
| 71 | + --> $DIR/new_without_default.rs:164:5 |
72 | 72 | |
|
73 | 73 | LL | / pub fn new() -> Self {
|
74 | 74 | LL | | Self(Default::default())
|
|
85 | 85 | |
|
86 | 86 |
|
87 | 87 | error: you should consider adding a `Default` implementation for `BarGenerics<T>`
|
88 |
| - --> $DIR/new_without_default.rs:172:5 |
| 88 | + --> $DIR/new_without_default.rs:171:5 |
89 | 89 | |
|
90 | 90 | LL | / pub fn new() -> Self {
|
91 | 91 | LL | | Self(Default::default())
|
|
0 commit comments