Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
issue-53096.rs
blob: 60e455a6a07ddedd5f3328417bd0a1333c758f37 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
pub
type
Foo
=
impl
Fn
()
->
usize
;
#[
define_opaque
(
Foo
)]
pub
const
fn
bar
()
->
Foo
{
||
0usize
}
const
BAZR
:
Foo
=
bar
();
fn
main
()
{}