summary refs log tree commit diff
path: root/src/test/ui/span/issue-27522.stderr
blob: 443595c6d2c764ae4c62a20c0a16dc56758c9375 (plain)
1
2
3
4
5
6
7
8
9
10
11
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`
              found type `&SomeType`

error: aborting due to previous error(s)