1 #![warn(clippy::needless_arbitrary_self_type)]
9 pub fn bad(self: Self) {
17 pub fn mut_bad(mut self: Self) {
21 pub fn mut_good(mut self) {
25 pub fn ref_bad(self: &Self) {
29 pub fn ref_bad_with_lifetime<'a>(self: &'a Self) {
33 pub fn ref_good(&self) {
37 pub fn mut_ref_bad(self: &mut Self) {
41 pub fn mut_ref_bad_with_lifetime<'a>(self: &'a mut Self) {
45 pub fn mut_ref_good(&mut self) {
49 pub fn mut_ref_mut_bad(mut self: &mut Self) {
53 pub fn mut_ref_mut_ref_good(self: &&mut &mut Self) {