]> git.proxmox.com Git - rustc.git/blob - tests/ui/span/issue-27522.rs
New upstream version 1.68.2+dfsg1
[rustc.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() {}