Skip to content

Commit 73d9758

Browse files
authored
Rollup merge of #88189 - spastorino:add-tait-struct-test, r=oli-obk
Add TAIT struct test r? `@oli-obk` Related to #86727
2 parents ae58c51 + cfcc851 commit 73d9758

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)