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