blob: 63a84bc8099bcbfe9c5e4933ffba0b0d0c858607 [file] [log] [blame]
//@ known-bug: #122914
use std::future::Future;
use std::pin::Pin;
impl<'a, F> Poll {
fn project<'_>(self: Pin<&'pin mut Future>) -> Projection<'pin, 'a, F> {
me.local_set.with(|| {
let _ = self.poll(cx);
})
}
}