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