1 error: method's name is the same as an existing method in a trait
2 --> $DIR/same_name_method.rs:20:13
7 = note: `-D clippy::same-name-method` implied by `-D warnings`
8 note: existing `foo` defined here
9 --> $DIR/same_name_method.rs:24:13
14 error: method's name is the same as an existing method in a trait
15 --> $DIR/same_name_method.rs:44:13
20 note: existing `foo` defined here
21 --> $DIR/same_name_method.rs:48:13
26 error: method's name is the same as an existing method in a trait
27 --> $DIR/same_name_method.rs:58:13
32 note: existing `foo` defined here
33 --> $DIR/same_name_method.rs:61:9
38 error: method's name is the same as an existing method in a trait
39 --> $DIR/same_name_method.rs:70:13
44 note: existing `foo` defined here
45 --> $DIR/same_name_method.rs:73:9
50 error: method's name is the same as an existing method in a trait
51 --> $DIR/same_name_method.rs:34:13
56 note: existing `clone` defined here
57 --> $DIR/same_name_method.rs:30:18
61 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
63 error: aborting due to 5 previous errors