// run-pass use std::ops::Deref; pub struct Pin

(P); impl Deref for Pin

where P: Deref, { type Target = T; fn deref(&self) -> &T { &*self.0 } } impl

Pin

{ fn poll(self) {} } fn main() { let mut unit = (); let pin = Pin(&mut unit); pin.poll(); }