fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `impl Sized` cannot be sent between threads safely 2 --> $DIR/check-wf-on-non-defaulted-rpitit.rs:6:17 3 | 4LL | fn bar() -> Wrapper<impl Sized>; 5 | ^^^^^^^^^^^^^^^^^^^ `impl Sized` cannot be sent between threads safely 6 | 7 = help: the trait `Send` is not implemented for `impl Sized` 8note: required by a bound in `Wrapper` 9 --> $DIR/check-wf-on-non-defaulted-rpitit.rs:3:19 10 | 11LL | struct Wrapper<G: Send>(G); 12 | ^^^^ required by this bound in `Wrapper` 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0277`.