]>
git.proxmox.com Git - rustc.git/blob - vendor/pin-project-lite/tests/ui/pinned_drop/conditional-drop-impl.rs
1 use pin_project_lite
::pin_project
;
3 // In `Drop` impl, the implementor must specify the same requirement as type definition.
9 impl<T
: Unpin
> Drop
for DropImpl
<T
> {
16 struct PinnedDropImpl
<T
> {
21 impl<T
: Unpin
> PinnedDrop
for PinnedDropImpl
<T
> {
22 fn drop(_this
: Pin
<&mut Self>) {}