Rollup merge of #88189 - spastorino:add-tait-struct-test, r=oli-obk
Add TAIT struct test r? `@oli-obk` Related to #86727
This commit is contained in:
commit
73d9758680
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
// check-pass
|
||||
|
||||
#![feature(type_alias_impl_trait)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
type Foo = Vec<impl Send>;
|
||||
|
||||
fn make_foo() -> Foo {
|
||||
vec![true, false]
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue