File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ note: while checking the return type of the `async fn`
117
117
|
118
118
LL | async fn dummy_result() -> Result<(), ()> {
119
119
| ^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type
120
- = note: expected opaque type `impl Future`
120
+ = note: expected opaque type `impl Future<Output = Result<(), ()>> `
121
121
found enum `Result<_, _>`
122
122
help: consider `await`ing on the `Future`
123
123
|
@@ -135,7 +135,7 @@ note: while checking the return type of the `async fn`
135
135
|
136
136
LL | async fn dummy_result() -> Result<(), ()> {
137
137
| ^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type
138
- = note: expected opaque type `impl Future`
138
+ = note: expected opaque type `impl Future<Output = Result<(), ()>> `
139
139
found enum `Result<_, _>`
140
140
help: consider `await`ing on the `Future`
141
141
|
You can’t perform that action at this time.
0 commit comments