Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
dropck
/
drop-on-non-struct.rs
blob: 259cdf40ae5f8b1958fe369aa9c9c61cb5e598b1 [
file
] [
log
] [
blame
]
impl
<
'a> Drop for &'
a
mut
isize
{
//~^ ERROR the Drop trait may only be implemented on structures
//~^^ ERROR E0117
fn
drop
(&
mut
self
)
{
println
!(
"kaboom"
);
}
}
fn
main
()
{
}