fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
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