]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/dont-suggest-await-on-method-return-mismatch.stderr
Rollup merge of #106625 - Swatinem:ref/cov6, r=nagisa
[rust.git] / tests / ui / async-await / dont-suggest-await-on-method-return-mismatch.stderr
1 error[E0599]: no method named `test` found for opaque type `impl Future<Output = A>` in the current scope
2   --> $DIR/dont-suggest-await-on-method-return-mismatch.rs:18:24
3    |
4 LL |     let x: u32 = foo().test();
5    |                        ^^^^ method not found in `impl Future<Output = A>`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0599`.