Sign in
fuchsia
/
third_party
/
rust
/
a9aa2dfe844840a7e414873ce55ef9d02f1038a7
/
.
/
src
/
test
/
ui
/
illegal-ufcs-drop.rs
blob: 5c072663eda45e4d088bc3d1b4a4c077abb2b2ce [
file
] [
log
] [
blame
]
struct
Foo
;
impl
Drop
for
Foo
{
fn
drop
(&
mut
self
)
{}
}
fn
main
()
{
Drop
::
drop
(&
mut
Foo
)
//~ ERROR explicit use of destructor method
}