Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
const-generics
/
late-bound-vars
/
in_closure.rs
blob: 0aaeaffb4cb9db43a0459a46fb56378cb5c86ca8 [
file
] [
log
] [
blame
]
// run-pass
#![
feature
(
const_generics
)]
#![
allow
(
incomplete_features
)]
const
fn
inner
<
'a>() -> usize where &'
a
():
Sized
{
3
}
fn
test
<
'
a
>()
{
let
_
=
||
{
let
_
:
[
u8
;
inner
::<
'
a
>()];
let
_
=
[
0
;
inner
::<
'
a
>()];
};
}
fn
main
()
{
test
();
}