summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/unresolved_type_param.drop_tracking_mir.stderr
blob: 95c799468314f6bbee8922273e38b73846c8e545 (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: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`.