blob: 95c799468314f6bbee8922273e38b73846c8e545 [file] [log] [blame]
error[E0282]: type annotations needed
--> $DIR/unresolved_type_param.rs:12:5
|
LL | bar().await;
| ^^^ cannot infer type of the type parameter `T` declared on the function `bar`
|
help: consider specifying the generic argument
|
LL | bar::<T>().await;
| +++++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.