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