blob: 146d0ff72d83f7b16bad3a761bed7d8f0fead8ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error: the `wait` method cannot be invoked on a trait object
--> $DIR/issue-35976.rs:24:9
|
24 | arg.wait();
| ^^^^
help: another candidate was found in the following trait, perhaps add a `use` for it:
|
11 | use private::Future;
|
error: aborting due to previous error
|