We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
waker_clone_wake
1 parent 925c1c4 commit beaebb5Copy full SHA for beaebb5
core/src/task/wake.rs
@@ -414,6 +414,7 @@ impl<'a> ContextBuilder<'a> {
414
/// [`Wake`]: ../../alloc/task/trait.Wake.html
415
#[repr(transparent)]
416
#[stable(feature = "futures_api", since = "1.36.0")]
417
+#[cfg_attr(not(test), rustc_diagnostic_item = "Waker")]
418
pub struct Waker {
419
waker: RawWaker,
420
}
0 commit comments