Sign in
rust
/
rust
/
2ecaa1df2dd65610537d7a685ceebcbaf8d2d129
/
.
/
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
()
{}