Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
issue-58951.rs
blob: 3416c6745bb0d0fc9033ec46150247998fe8132d [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
type_alias_impl_trait
)]
type
A
=
impl
Iterator
;
fn
def_a
()
->
A
{
0.
.
1
}
pub
fn
use_a
()
{
def_a
().
map
(|
x
|
x
);
}
fn
main
()
{}