1 error[E0698]: type inside `async fn` body must be known in this context
2 --> $DIR/unresolved_type_param.rs:9:5
5 | ^^^ cannot infer type for type parameter `T` declared on the function `bar`
7 note: the type is part of the `async fn` body because of this `await`
8 --> $DIR/unresolved_type_param.rs:9:10
13 error[E0698]: type inside `async fn` body must be known in this context
14 --> $DIR/unresolved_type_param.rs:9:5
17 | ^^^ cannot infer type for type parameter `T` declared on the function `bar`
19 note: the type is part of the `async fn` body because of this `await`
20 --> $DIR/unresolved_type_param.rs:9:10
25 error[E0698]: type inside `async fn` body must be known in this context
26 --> $DIR/unresolved_type_param.rs:9:5
29 | ^^^ cannot infer type for type parameter `T` declared on the function `bar`
31 note: the type is part of the `async fn` body because of this `await`
32 --> $DIR/unresolved_type_param.rs:9:10
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0698`.