Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
suggestions
/
double-reference-ty-in-self-ty.rs
blob: 4ac13f0f635d920ab4fb77976dae8df5eace3758 [
file
] [
log
] [
blame
]
// issue#135863
struct
A
;
impl
A
{
fn
len
(
self
:
&&
A
)
{}
}
fn
main
()
{
A
.
len
();
//~^ ERROR: no method named `len` found for struct `A` in the current scope
}