Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
drop
/
drop-uninhabited-enum.rs
blob: 2ac6dc8e9ea3e7088f6e18e7301e51d2ddfc2e31 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
#![
allow
(
unused_variables
)]
enum
Foo
{
}
impl
Drop
for
Foo
{
fn
drop
(&
mut
self
)
{
}
}
fn
foo
(
x
:
Foo
)
{
}
fn
main
()
{
}