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