Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
34f7f55e7aad1cedbddf6fecb4f293377d0cfd1d
/
.
/
src
/
test
/
ui
/
issues
/
issue-2823.rs
blob: 7b443b4152613f620bf2dbe7e5a9d2f2b1b80e00 [
file
] [
log
] [
blame
]
struct
C
{
x
:
isize
,
}
impl
Drop
for
C
{
fn
drop
(&
mut
self
)
{
println
!(
"dropping: {}"
,
self
.
x
);
}
}
fn
main
()
{
let
c
=
C
{
x
:
2
};
let
_d
=
c
.
clone
();
//~ ERROR no method named `clone` found
}