rust/src/test/ui/span/issue-27522.stderr

12 lines
306 B
Plaintext
Raw Normal View History

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`
error: aborting due to previous error