1 error: unused `self` argument
2 --> $DIR/unused_self.rs:11:29
4 LL | fn unused_self_move(self) {}
7 = note: `-D clippy::unused-self` implied by `-D warnings`
8 = help: consider refactoring to a associated function
10 error: unused `self` argument
11 --> $DIR/unused_self.rs:12:28
13 LL | fn unused_self_ref(&self) {}
16 = help: consider refactoring to a associated function
18 error: unused `self` argument
19 --> $DIR/unused_self.rs:13:32
21 LL | fn unused_self_mut_ref(&mut self) {}
24 = help: consider refactoring to a associated function
26 error: unused `self` argument
27 --> $DIR/unused_self.rs:14:32
29 LL | fn unused_self_pin_ref(self: Pin<&Self>) {}
32 = help: consider refactoring to a associated function
34 error: unused `self` argument
35 --> $DIR/unused_self.rs:15:36
37 LL | fn unused_self_pin_mut_ref(self: Pin<&mut Self>) {}
40 = help: consider refactoring to a associated function
42 error: unused `self` argument
43 --> $DIR/unused_self.rs:16:35
45 LL | fn unused_self_pin_nested(self: Pin<Arc<Self>>) {}
48 = help: consider refactoring to a associated function
50 error: unused `self` argument
51 --> $DIR/unused_self.rs:17:28
53 LL | fn unused_self_box(self: Box<Self>) {}
56 = help: consider refactoring to a associated function
58 error: unused `self` argument
59 --> $DIR/unused_self.rs:18:40
61 LL | fn unused_with_other_used_args(&self, x: u8, y: u8) -> u8 {
64 = help: consider refactoring to a associated function
66 error: unused `self` argument
67 --> $DIR/unused_self.rs:21:37
69 LL | fn unused_self_class_method(&self) {
72 = help: consider refactoring to a associated function
74 error: aborting due to 9 previous errors