blob: 5c9893f64a6ee35d7d31e811d22d5b24c2d962cd [file] [log] [blame]
// Point at correct span for self type
struct SomeType {}
trait Foo {
fn handler(self: &SomeType); //~ ERROR invalid method receiver type
}
fn main() {}