Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
inner-static-type-parameter.rs
blob: c08ccd29d8011bdc8bf08b0e6232732cad439cdf [
file
] [
log
] [
blame
]
// see #9186
enum
Bar
<
T
>
{
What
}
//~ ERROR parameter `T` is never used
fn
foo
<
T
>()
{
static
a
:
Bar
<
T
>
=
Bar
::
What
;
//~^ ERROR can't use generic parameters from outer function
}
fn
main
()
{
}