2023-08-14 08:09:53 -05:00
|
|
|
error[E0283]: type annotations needed
|
2023-09-25 12:40:37 -05:00
|
|
|
--> $DIR/opaque-cast-field-access-in-future.rs:22:17
|
|
|
|
|
|
|
|
|
LL | fn run() -> Foo<impl Future<Output = ()>> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
|
2023-08-14 08:09:53 -05:00
|
|
|
|
|
|
|
|
= note: cannot satisfy `_: Future`
|
2023-09-25 12:40:37 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-25 12:40:37 -05:00
|
|
|
|
2023-08-14 08:09:53 -05:00
|
|
|
For more information about this error, try `rustc --explain E0283`.
|