Sha256: cb3d6d4087b8b4c917bc71e55764775f6bb018a77cda5c6b726afacd66789859
Contents?: true
Size: 337 Bytes
Versions: 8
Compression:
Stored size: 337 Bytes
Contents
// SPDX-License-Identifier: Apache-2.0 OR MIT use std::marker::PhantomPinned; use pin_project_lite::pin_project; pin_project! { struct Foo<T> { #[pin] inner: T, } } struct __Origin {} impl Unpin for __Origin {} fn is_unpin<T: Unpin>() {} fn main() { is_unpin::<Foo<PhantomPinned>>(); //~ ERROR E0277 }
Version data entries
8 entries across 8 versions & 1 rubygems