Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
weird-return-types.rs
blob: 29d4faa7ba908137fe112920ad3c9bda8d2f61af [
file
] [
log
] [
blame
]
//@ edition:2018
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
#![
allow
(
dead_code
)]
use
std
::
future
::
Future
;
use
std
::
fmt
::
Debug
;
type
Foo
=
impl
Debug
;
fn
f
()
->
impl
Future
<
Output
=
Foo
>
{
async
move
{
22
_u32
}
}
fn
main
()
{}