let mut pinned = $e;
loop {
if let $crate::task::Poll::Ready(x) =
- $crate::future::poll_in_task_cx(unsafe {
- $crate::mem::PinMut::new_unchecked(&mut pinned)
+ $crate::future::poll_with_tls_waker(unsafe {
+ $crate::pin::Pin::new_unchecked(&mut pinned)
})
{
break x;
/// These macros do not have any corresponding definition with a `macro_rules!`
/// macro, but are documented here. Their implementations can be found hardcoded
/// into libsyntax itself.
-#[cfg(dox)]
+#[cfg(rustdoc)]
mod builtin {
/// Unconditionally causes compilation to fail with the given error message when encountered.