2016-12-25 14:50:28 -06:00
|
|
|
error[E0308]: mismatched method receiver
|
|
|
|
--> $DIR/issue-27522.rs:16:22
|
|
|
|
|
|
|
|
|
16 | fn handler(self: &SomeType);
|
|
|
|
| ^^^^^^^^^ expected Self, found struct `SomeType`
|
|
|
|
|
|
|
|
|
= note: expected type `&Self`
|
2017-01-11 15:55:41 -06:00
|
|
|
found type `&SomeType`
|
2016-12-25 14:50:28 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2016-12-25 14:50:28 -06:00
|
|
|
|