blob: 59a3353f4965eb3986135a0fecbc7561671a72f8 (
plain)
1
2
3
4
5
6
7
|
#![feature(closure_lifetime_binder, non_lifetime_binders)]
//~^ WARN is incomplete and may not be safe to use
fn main() {
for<T> || -> T {};
//~^ ERROR late-bound type parameter not allowed on closures
}
|