Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
span
/
issue-27522.rs
blob: 7a0cfb679ed67f84c4c14919f3a8921f7b856550 [
file
]
// Point at correct span for self type
struct
SomeType
{}
trait
Foo
{
fn
handler
(
self
:
&
SomeType
);
//~ ERROR invalid `self` parameter type
}
fn
main
()
{}