blob: b1720087b5f6db909763678654fb0dff3bfa448f [file] [log] [blame] [edit]
fn foo<T>() where T: for<'a> 'a {}
//~^ ERROR `for<...>` may only modify trait bounds, not lifetime bounds
//~| ERROR use of undeclared lifetime name `'a` [E0261]
fn main() {}