summary refs log tree commit diff
path: root/src/test/ui/span/issue-27522.stderr
blob: 117b109780b152de90c24f45dd97f8697ea3d84b (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