Skip to content

Commit 435e089

Browse files
committed
Add 86201
Issue: rust-lang/rust#86201
1 parent fe4e8b8 commit 435e089

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ices/86201.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#![feature(unboxed_closures)]
2+
#![feature(min_type_alias_impl_trait)]
3+
#![feature(impl_trait_in_bindings)]
4+
5+
type FunType = impl Fn<()>;
6+
static STATIC_FN: FunType = some_fn;
7+
8+
fn some_fn() {}
9+
10+
fn main() {
11+
let _: <FunType as FnOnce<()>>::Output = STATIC_FN();
12+
}

0 commit comments

Comments
 (0)