1 // this used to cause stack overflows
7 impl<'a> Hrtb<'a> for () {
11 impl<'a> Hrtb<'a> for &'a () {
15 fn make_impl() -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {}
16 //~^ ERROR higher kinded lifetime bounds on nested opaque types are not supported yet
18 fn make_weird_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
19 //~^ ERROR higher kinded lifetime bounds on nested opaque types are not supported yet
23 fn make_bad_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
24 //~^ ERROR higher kinded lifetime bounds on nested opaque types are not supported yet