Skip to content

Commit a8f468f

Browse files
Add lang item for Future::Output
1 parent 2e1896e commit a8f468f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/future/future.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use crate::task::{Context, Poll};
3535
pub trait Future {
3636
/// The type of value produced on completion.
3737
#[stable(feature = "futures_api", since = "1.36.0")]
38-
#[rustc_diagnostic_item = "FutureOutput"]
38+
#[cfg_attr(not(bootstrap), lang = "future_output")]
3939
type Output;
4040

4141
/// Attempt to resolve the future to a final value, registering

0 commit comments

Comments
 (0)