fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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