Sha256: 6c00c1ab0d340fe72ea6c2fe502073ad74c6801250a6261d7cd3612a315ae798
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
use pin_project_lite::pin_project; enum Enum<T, U> { Struct { pinned: T, unpinned: U }, Unit, } #[allow( single_use_lifetimes, clippy::unknown_clippy_lints, clippy::absolute_paths, clippy::min_ident_chars, clippy::single_char_lifetime_names, clippy::used_underscore_binding )] const _: () = { impl<T, U> Enum<T, U> {} #[allow(non_snake_case)] struct __Origin<'__pin, T, U> { __dummy_lifetime: ::pin_project_lite::__private::PhantomData<&'__pin ()>, Struct: (T, ::pin_project_lite::__private::AlwaysUnpin<U>), Unit: (), } impl<'__pin, T, U> ::pin_project_lite::__private::Unpin for Enum<T, U> where ::pin_project_lite::__private::PinnedFieldsOf< __Origin<'__pin, T, U>, >: ::pin_project_lite::__private::Unpin, {} trait MustNotImplDrop {} #[allow(clippy::drop_bounds, drop_bounds)] impl<T: ::pin_project_lite::__private::Drop> MustNotImplDrop for T {} impl<T, U> MustNotImplDrop for Enum<T, U> {} }; fn main() {}
Version data entries
2 entries across 2 versions & 1 rubygems