We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1896e commit a8f468fCopy full SHA for a8f468f
core/src/future/future.rs
@@ -35,7 +35,7 @@ use crate::task::{Context, Poll};
35
pub trait Future {
36
/// The type of value produced on completion.
37
#[stable(feature = "futures_api", since = "1.36.0")]
38
- #[rustc_diagnostic_item = "FutureOutput"]
+ #[cfg_attr(not(bootstrap), lang = "future_output")]
39
type Output;
40
41
/// Attempt to resolve the future to a final value, registering
0 commit comments