]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/unresolved_type_param.stderr
Rollup merge of #63737 - HowJMay:fix_naming, r=jonas-schievink
[rust.git] / src / test / ui / async-await / unresolved_type_param.stderr
1 error[E0698]: type inside `async` object must be known in this context
2   --> $DIR/unresolved_type_param.rs:9:5
3    |
4 LL |     bar().await;
5    |     ^^^ cannot infer type for `T`
6    |
7 note: the type is part of the `async` object because of this `await`
8   --> $DIR/unresolved_type_param.rs:9:5
9    |
10 LL |     bar().await;
11    |     ^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0698`.