Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
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
()
{
}