2 #![allow(unused_variables)]
4 // Regression test for #52078: we were failing to infer a relationship
5 // between `'a` and `'b` below due to inference variables introduced
6 // during the normalization process.
10 struct Drain<'a, T: 'a> {
11 _marker: ::std::marker::PhantomData<&'a T>,
16 fn get(value: &mut Self::Value);
19 impl<'a, T> Join for Drain<'a, T> {
20 type Value = &'a mut Option<T>;
22 fn get<'b>(value: &'b mut Self::Value) {