pub fn panic_context() -> Context<'static>
Create a new Context where the waker will panic if used.
Context
use futures_test::task::panic_context; let cx = panic_context(); cx.waker().wake_by_ref(); // Will panic