Skip to content

Commit

Permalink
Add lang item for Future::Output
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed May 29, 2024
1 parent 2e1896e commit a8f468f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/future/future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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"]
#[cfg_attr(not(bootstrap), lang = "future_output")]
type Output;

/// Attempt to resolve the future to a final value, registering
Expand Down

0 comments on commit a8f468f

Please sign in to comment.