1 error: methods called `new` usually return `Self`
2 --> $DIR/new_ret_no_self.rs:51:5
4 51 | / pub fn new(_: String) -> impl R<Item = u32> {
9 = note: `-D clippy::new-ret-no-self` implied by `-D warnings`
11 error: methods called `new` usually return `Self`
12 --> $DIR/new_ret_no_self.rs:83:5
14 83 | / pub fn new() -> u32 {
15 84 | | unimplemented!();
19 error: methods called `new` usually return `Self`
20 --> $DIR/new_ret_no_self.rs:92:5
22 92 | / pub fn new(_: String) -> u32 {
23 93 | | unimplemented!();
27 error: aborting due to 3 previous errors