Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
borrowck
/
clone-span-on-try-operator.fixed
blob: 52f66e43a930a1908222716bbbf767fa6640bb96 [
file
] [
log
] [
blame
]
// run-rustfix
#[derive(Clone)]
struct
Foo
;
impl
Foo
{
fn foo
(
self
)
{}
}
fn main
()
{
let
foo
=
&
Foo
;
(*
foo
).
clone
().
foo
();
//~ ERROR cannot move out
}