about summary refs log tree commit diff
path: root/tests/ui/closures/binder/implicit-return.rs
blob: 9889d055a36619c430b580347abef71c305181ec (plain)
1
2
3
4
5
6
#![feature(closure_lifetime_binder)]

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