Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
()
{}