Skip to content

Commit

Permalink
Rollup merge of rust-lang#88189 - spastorino:add-tait-struct-test, r=…
Browse files Browse the repository at this point in the history
…oli-obk

Add TAIT struct test

r? `@oli-obk`

Related to rust-lang#86727
  • Loading branch information
jackh726 authored Aug 22, 2021
2 parents ae58c51 + cfcc851 commit 73d9758
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/ui/type-alias-impl-trait/type-alias-impl-trait-struct.rs
Original file line number Diff line number Diff line change
@@ -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() {}

0 comments on commit 73d9758

Please # to comment.