fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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