fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
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