Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
type-alias-impl-trait-struct.rs
blob: 3fcb40df8324f4943897b4092d0ebe82f77750f2 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
#![
allow
(
dead_code
)]
type
Foo
=
Vec
<
impl
Send
>;
#[
define_opaque
(
Foo
)]
fn
make_foo
()
->
Foo
{
vec
![
true
,
false
]
}
fn
main
()
{}