Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
array-slice-vec
/
show-boxed-slice.rs
blob: dfa4c720bb09aeaf0aa13b3ef9f5a7375a1b22a7 [
file
] [
log
] [
blame
]
// run-pass
#[
derive
(
Debug
)]
struct
Foo
(
Box
<[
u8
]>);
pub
fn
main
()
{
println
!(
"{:?}"
,
Foo
(
Box
::
new
([
0
,
1
,
2
])));
}