2 #![warn(clippy::wrong_self_convention)]
3 #![warn(clippy::wrong_pub_self_convention)]
11 fn to_thing(&self) -> Thing;
15 // don't trigger, e.g. `ToString` from `std` requires `&self`
16 fn to_thing(&self) -> Thing {
22 fn to_u64(self) -> u64;
27 impl ToU64 for FooNoCopy {
28 fn to_u64(self) -> u64 {