Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
did_you_mean
/
issue-34126.rs
blob: 4989577dbb68faed276ad9f6226e54860816360d [
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
}
}
fn
main
()
{
let
mut
z
=
Z
{};
z
.
start
();
}