Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
union
/
union-unsized.rs
blob: 5dd32192ab9e52edbc18a1a60d8429bffd5aabdf [
file
] [
log
] [
blame
]
union U
{
a
:
str
,
//~^ ERROR the size for values of type
//~| ERROR field must implement `Copy`
b
:
u8
,
}
union W
{
a
:
u8
,
b
:
str
,
//~^ ERROR the size for values of type
//~| ERROR field must implement `Copy`
}
fn
main
()
{}