3 // Test that we do not suggest `.await` when it doesn't make sense.
8 fn test(&self) -> i32 {
17 async fn async_main() {
18 let x: u32 = foo().test();
19 //~^ ERROR no method named `test` found for opaque type `impl Future<Output = A>` in the current scope