Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
issues
/
issue-17025.rs
blob: 6b7b6d010aa22964bee1be2079052976efb02f20 [
file
] [
log
] [
blame
]
// ignore-test the unsized enum no longer compiles
enum
A
{
B
(
char
),
C
([
Box
<
A
>]),
}
fn
c
(
c
:
char
)
{
A
::
B
(
c
);
//~^ ERROR cannot move a value of type A: the size of A cannot be statically determined
}
pub
fn
main
()
{}