Sign in
fuchsia
/
third_party
/
rust
/
8c93798e9f80d6d6ed9a2ab4b01af06a8fea23b7
/
.
/
src
/
test
/
ui
/
did_you_mean
/
issue-34126.rs
blob: 15bef1ef815d6bdf8c5df9affe47e7dcfe1f03d8 [
file
] [
log
] [
blame
]
struct
Z
{
}
impl
Z
{
fn
run
(&
self
,
z
:
&
mut
Z
)
{
}
fn
start
(&
mut
self
)
{
self
.
run
(&
mut
self
);
//~ ERROR cannot borrow
}
}
fn
main
()
{
let
mut
z
=
Z
{};
z
.
start
();
}