Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
issue-53096.rs
blob: 6e1973bd18aabf25d30fdf9d6535afbf5f5f8b45 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
const_impl_trait
,
const_fn_fn_ptr_basics
)]
#![
feature
(
type_alias_impl_trait
)]
type
Foo
=
impl
Fn
()
->
usize
;
const
fn
bar
()
->
Foo
{
||
0usize
}
const
BAZR
:
Foo
=
bar
();
fn
main
()
{}