]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/issue-27522.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / issue-27522.rs
1 // Point at correct span for self type
2
3 struct SomeType {}
4
5 trait Foo {
6     fn handler(self: &SomeType); //~ ERROR invalid `self` parameter type
7 }
8
9 fn main() {}