fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
431 B16 linesraw
1error: the `wait` method cannot be invoked on a trait object
2  --> $DIR/issue-35976.rs:20: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