Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
const-generics
/
late-bound-vars
/
simple.rs
blob: 6da5395ef83ce28206d0e6e8c4a6f8a76c50275f [
file
] [
log
] [
blame
]
// run-pass
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
const
fn
inner
<
'a>() -> usize where &'
a
():
Sized
{
3
}
fn
test
<
'
a
>()
{
let
_
:
[
u8
;
inner
::<
'
a
>()];
let
_
=
[
0
;
inner
::<
'
a
>()];
}
fn
main
()
{
test
();
}