1 error: the type of the `self` parameter is already by default `Self`
2 --> $DIR/needless_fn_self_type.rs:11:28
4 LL | pub fn bytes_bad(self: Self) -> usize {
7 = note: `-D clippy::needless-fn-self-type` implied by `-D warnings`
8 = help: consider removing the type specification
10 error: aborting due to previous error