]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-27522.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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() {}