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