blob: b9fb9832086cd04d740df80e8d88283545263386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0282]: type annotations needed
--> $DIR/unresolved_type_param.rs:9: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 1 previous error
For more information about this error, try `rustc --explain E0282`.
|