Sha256: 9a126182d1fe15a30ac60bb223b376aad747d11293d3cf512ad2dce546e3725c
Contents?: true
Size: 290 Bytes
Versions: 30
Compression:
Stored size: 290 Bytes
Contents
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
30 entries across 30 versions & 1 rubygems