summaryrefslogtreecommitdiffstats
path: root/library/core/src/future/future.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/future/future.rs')
-rw-r--r--library/core/src/future/future.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/future/future.rs b/library/core/src/future/future.rs
index f29d3e1e9..8c7111cb3 100644
--- a/library/core/src/future/future.rs
+++ b/library/core/src/future/future.rs
@@ -37,6 +37,7 @@ use crate::task::{Context, Poll};
pub trait Future {
/// The type of value produced on completion.
#[stable(feature = "futures_api", since = "1.36.0")]
+ #[rustc_diagnostic_item = "FutureOutput"]
type Output;
/// Attempt to resolve the future to a final value, registering