Skip to content

Commit 741a40f

Browse files
Suggest more impl Trait on -> _
1 parent abed96b commit 741a40f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/future/future.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ use crate::task::{Context, Poll};
3737
pub trait Future {
3838
/// The type of value produced on completion.
3939
#[stable(feature = "futures_api", since = "1.36.0")]
40+
#[rustc_diagnostic_item = "FutureOutput"]
4041
type Output;
4142

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

0 commit comments

Comments
 (0)