]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-27522.rs
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb
[rust.git] / src / test / 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() {}