1 error: the `wait` method cannot be invoked on a trait object
2 --> $DIR/issue-35976.rs:14:9
6 help: another candidate was found in the following trait, perhaps add a `use` for it:
8 LL | use private::Future;
11 error: aborting due to previous error