blob: 042ad028575bbfdc5fa76d077227ca06cc59a48b [file] [log] [blame]
#![feature(nll)]
fn test<'a>() {
let _:fn(&()) = |_:&'a ()| {}; //~ ERROR unsatisfied lifetime constraints
//~^ ERROR unsatisfied lifetime constraints
}
fn main() {
test();
}