summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/binder/implicit-return.rs
blob: d34e5721d919b6d6aead9fdad98ea9fc73b1410f (plain)
1
2
3
4
5
6
#![feature(closure_lifetime_binder)]

fn main() {
    let _f = for<'a> |_: &'a ()| {};
    //~^ implicit types in closure signatures are forbidden when `for<...>` is present
}