2023-06-04 03:38:14 -05:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/issue-112225-2.rs:13:9
|
|
|
|
|
|
|
|
|
LL | let x = Default::default();
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
LL | async { x.0; },
|
|
|
|
| - type must be known at this point
|
|
|
|
|
|
|
|
|
help: consider giving `x` an explicit type
|
|
|
|
|
|
|
|
|
LL | let x: /* Type */ = Default::default();
|
|
|
|
| ++++++++++++
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-04 03:38:14 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|