Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
consts
/
drop_none.rs
blob: 86a197ffb993ece641d6e19edd1f54e652eb32db [
file
] [
log
] [
blame
]
// compile-pass
#![
allow
(
dead_code
)]
struct
A
;
impl
Drop
for
A
{
fn
drop
(&
mut
self
)
{}
}
const
FOO
:
Option
<
A
>
=
None
;
const
BAR
:
()
=
(
FOO
,
()).
1
;
fn
main
()
{}