1 // Test that we do not get a privacy error here. Initially, we did,
2 // because we inferred an outlives predciate of `<Foo<'a> as
3 // Private>::Out: 'a`, but the private trait is -- well -- private,
4 // and hence it was not something that a pub trait could refer to.
11 field: Option<&'a <Foo<'a> as Private>::Out>
18 impl<T: ?Sized> Private for T { type Out = Self; }