2022-04-28 06:48:54 -05:00
|
|
|
// We didn't have a single test mentioning
|
|
|
|
// `ReEmpty` and this test changes that.
|
|
|
|
fn foo<'a>(_a: &'a u32) where for<'b> &'b (): 'a {
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
foo(&10);
|
2022-04-01 12:13:25 -05:00
|
|
|
//~^ ERROR higher-ranked lifetime error
|
|
|
|
//~| NOTE could not prove
|
2022-04-28 06:48:54 -05:00
|
|
|
}
|