Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
issues
/
issue-10396.rs
blob: 0781e5e3ed99080126f6c9d13caf5c4cc419c6e4 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
dead_code
)]
#[
derive
(
Debug
)]
enum
Foo
<
'
s
>
{
V
(&
'
s str
)
}
fn
f
(
arr
:
&[&
Foo
])
{
for
&
f in arr
{
println
!(
"{:?}"
,
f
);
}
}
fn
main
()
{}