Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
type-alias-impl-trait-assoc-dyn.rs
blob: f6a8302967060028e53e17fdfff5cd9dd0268550 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
type_alias_impl_trait
)]
#![
allow
(
dead_code
)]
type
Foo
=
Box
<
dyn
Iterator
<
Item
=
impl
Send
>>;
fn
make_foo
()
->
Foo
{
Box
::
new
(
vec
![
1
,
2
,
3
].
into_iter
())
}
fn
main
()
{}