]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-35976.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-35976.stderr
1 error: the `wait` method cannot be invoked on a trait object
2   --> $DIR/issue-35976.rs:14:9
3    |
4 LL |     arg.wait();
5    |         ^^^^
6 help: another candidate was found in the following trait, perhaps add a `use` for it:
7    |
8 LL | use private::Future;
9    |
10
11 error: aborting due to previous error
12