From 37e091d499e1ab941de5936870d9c7978f78feb4 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 23 Oct 2019 02:58:55 +0900 Subject: [PATCH] Add issue-65679 (#183) --- ices/65679.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ices/65679.rs diff --git a/ices/65679.rs b/ices/65679.rs new file mode 100644 index 00000000..dc34be6c --- /dev/null +++ b/ices/65679.rs @@ -0,0 +1,10 @@ +#![feature(type_alias_impl_trait)] + +type Fut = impl std::future::Future; + +fn take(_: fn() -> Fut) {} + +fn main() { + take(|| {}); + take(|| {}); +}