Sign in
fuchsia
/
third_party
/
rust
/
10732e14f4ee6e462170f883c79fb90acf3ddc2c
/
.
/
tests
/
ui
/
nested-ty-params.rs
blob: c00c3bc3372308876c268cdcb8609687ef7dfd8b [
file
] [
log
] [
blame
]
fn
hd
<
U
>(
v
:
Vec
<
U
>
)
->
U
{
fn
hd1
(
w
:
[
U
])
->
U
{
return
w
[
0
];
}
//~^ ERROR can't use generic parameters from outer item
//~| ERROR can't use generic parameters from outer item
return
hd1
(
v
);
}
fn
main
()
{}