]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | error[E0307]: invalid method receiver type: &SomeType |
2 | --> $DIR/issue-27522.rs:6:22 | |
32a655c1 | 3 | | |
532ac7d7 | 4 | LL | fn handler(self: &SomeType); |
abe05a73 | 5 | | ^^^^^^^^^ |
32a655c1 | 6 | | |
0531ce1d | 7 | = note: type must be `Self` or a type that dereferences to it |
abe05a73 | 8 | = help: consider changing to `self`, `&self`, `&mut self`, or `self: Box<Self>` |
32a655c1 | 9 | |
041b39d2 | 10 | error: aborting due to previous error |
32a655c1 | 11 |