fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
431 B16 linesraw
1error: the `wait` method cannot be invoked on a trait object
2  --> $DIR/issue-35976.rs:14:9
3   |
4LL |         fn wait(&self) where Self: Sized;
5   |                                    ----- this has a `Sized` requirement
6...
7LL |     arg.wait();
8   |         ^^^^
9   |
10help: another candidate was found in the following trait, perhaps add a `use` for it:
11   |
12LL | use private::Future;
13   |
14
15error: aborting due to previous error
16