Home
last modified time | relevance | path

Searched defs:WrapperWithLifetime (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/pin-project/tests/ui/unstable-features/
Dtrivial_bounds-feature-gate.rs18 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T); struct
20 impl<T> Unpin for WrapperWithLifetime<'_, T> where T: Unpin {} implementation
44 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T); struct
46 impl<T> Unpin for WrapperWithLifetime<'_, T> where T: Unpin {} implementation
Dtrivial_bounds-bug.rs23 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T); struct
25 impl<T> Unpin for WrapperWithLifetime<'_, T> where T: Unpin {} implementation
Dtrivial_bounds.rs25 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T); in inner() struct
27 impl<T> Unpin for WrapperWithLifetime<'_, T> where T: Unpin {} in inner() implementation