Sign in
fuchsia
/
third_party
/
rust
/
b55d8a3b4917698fd6d389f05afc423086f33d97
/
.
/
tests
/
ui
/
did_you_mean
/
issue-34126.rs
blob: 53516f4f24713905d8b025bf963697ac01137e39 [
file
] [
log
] [
blame
]
struct
Z
{
}
impl
Z
{
fn
run
(&
self
,
z
:
&
mut
Z
)
{
}
fn
start
(&
mut
self
)
{
self
.
run
(&
mut
self
);
//~ ERROR cannot borrow
//~| ERROR cannot borrow
//~| HELP try removing `&mut` here
}
}
fn
main
()
{
let
mut
z
=
Z
{};
z
.
start
();
}