1 // Make sure that the mono-item collector does not crash when trying to
2 // instantiate a default impl of a method with lifetime parameters.
3 // See https://github.com/rust-lang/rust/issues/47309
5 // compile-flags:-Clink-dead-code
13 fn boxed_result<'a>(self) where Self: Sized, Self::Item: 'a, {
19 impl<'a> EnvFuture for &'a Foo {