diff options
Diffstat (limited to 'src/test/ui/type-alias-impl-trait/type-alias-impl-trait-assoc-dyn.rs')
-rw-r--r-- | src/test/ui/type-alias-impl-trait/type-alias-impl-trait-assoc-dyn.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/type-alias-impl-trait/type-alias-impl-trait-assoc-dyn.rs b/src/test/ui/type-alias-impl-trait/type-alias-impl-trait-assoc-dyn.rs deleted file mode 100644 index f6a830296..000000000 --- a/src/test/ui/type-alias-impl-trait/type-alias-impl-trait-assoc-dyn.rs +++ /dev/null @@ -1,12 +0,0 @@ -// check-pass - -#![feature(type_alias_impl_trait)] -#![allow(dead_code)] - -type Foo = Box<dyn Iterator<Item = impl Send>>; - -fn make_foo() -> Foo { - Box::new(vec![1, 2, 3].into_iter()) -} - -fn main() {} |