1
Fork 0

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:
Jack Huey 2021-08-21 20:56:35 -04:00 committed by GitHub
commit 73d9758680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {}