Skip to content

Commit 897ec9c

Browse files
Don't call await a method
1 parent a7f646b commit 897ec9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/future/into_future.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ use crate::future::Future;
9999
/// }
100100
/// ```
101101
#[stable(feature = "into_future", since = "1.64.0")]
102+
#[rustc_diagnostic_item = "IntoFuture"]
102103
pub trait IntoFuture {
103104
/// The output that the future will produce on completion.
104105
#[stable(feature = "into_future", since = "1.64.0")]

0 commit comments

Comments
 (0)