Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
span
/
E0493.rs
blob: ad4100205f2737c1dd9228accfb0b9284c257df8 [
file
] [
log
] [
blame
]
struct
Foo
{
a
:
u32
}
impl
Drop
for
Foo
{
fn
drop
(&
mut
self
)
{}
}
struct
Bar
{
a
:
u32
}
impl
Drop
for
Bar
{
fn
drop
(&
mut
self
)
{}
}
const
F
:
Foo
=
(
Foo
{
a
:
0
},
Foo
{
a
:
1
}).
1
;
//~^ destructors cannot be evaluated at compile-time
fn
main
()
{
}