blob: fa76686cc8b61da7b63f0c7ba8f1a6fd1553068d [file] [log] [blame] [edit]
// Minimized test from #59311.
pub fn crash()
where
for<'a> &'a (): 'static,
{
|| {};
//~^ ERROR higher-ranked lifetime error
}
fn main() {}