1error[E0277]: `PhantomPinned` cannot be unpinned 2 --> $DIR/overlapping_unpin_struct.rs:18:5 3 | 415 | fn is_unpin<T: Unpin>() {} 5 | ----- required by this bound in `is_unpin` 6... 718 | is_unpin::<Foo<PhantomPinned>>(); //~ ERROR E0277 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `_::__Origin<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned` 9 | 10 = note: required because it appears within the type `_::__Origin<'_, PhantomPinned>` 11 = note: required because of the requirements on the impl of `Unpin` for `Foo<PhantomPinned>` 12