1 error: you should consider deriving a `Default` implementation for `Foo`
2 --> $DIR/new_without_default.rs:17:5
4 17 | / pub fn new() -> Foo {
9 = note: `-D clippy::new-without-default-derive` implied by `-D warnings`
12 14 | #[derive(Default)]
15 error: you should consider deriving a `Default` implementation for `Bar`
16 --> $DIR/new_without_default.rs:25:5
18 25 | / pub fn new() -> Self {
24 22 | #[derive(Default)]
27 error: you should consider adding a `Default` implementation for `LtKo<'c>`
28 --> $DIR/new_without_default.rs:89:5
30 89 | / pub fn new() -> LtKo<'c> {
31 90 | | unimplemented!()
35 = note: `-D clippy::new-without-default` implied by `-D warnings`
38 88 | impl Default for LtKo<'c> {
39 89 | fn default() -> Self {
45 error: aborting due to 3 previous errors