Sign in
rust
/
rust
/
e8a63124746761e743d69ea510194de2ada4034f
/
.
/
tests
/
ui
/
const-generics
/
early
/
const-param-from-outer-fn.rs
blob: ee57f3c4fc32c6bbe0ba863d2af896ee92f01768 [
file
]
fn
foo
<
const
X
:
u32
>()
{
fn
bar
()
->
u32
{
X
//~ ERROR can't use generic parameters from outer item
}
}
fn
main
()
{}