summary refs log tree commit diff
path: root/src/test/ui/span/issue-27522.rs
blob: 5c9893f64a6ee35d7d31e811d22d5b24c2d962cd (plain)
1
2
3
4
5
6
7
8
9
// Point at correct span for self type

struct SomeType {}

trait Foo {
    fn handler(self: &SomeType); //~ ERROR invalid method receiver type
}

fn main() {}