Skip to content

Commit cfcc851

Browse files
committed
Add TAIT struct test
1 parent a9ab2e5 commit cfcc851

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// check-pass
2+
3+
#![feature(type_alias_impl_trait)]
4+
#![allow(dead_code)]
5+
6+
type Foo = Vec<impl Send>;
7+
8+
fn make_foo() -> Foo {
9+
vec![true, false]
10+
}
11+
12+
fn main() {}

0 commit comments

Comments
 (0)