fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `Foo` cannot be sent between threads safely 2 --> $DIR/no_send-struct.rs:15:9 3 | 4LL | bar(x); 5 | --- ^ `Foo` cannot be sent between threads safely 6 | | 7 | required by a bound introduced by this call 8 | 9 = help: the trait `Send` is not implemented for `Foo` 10note: required by a bound in `bar` 11 --> $DIR/no_send-struct.rs:11:11 12 | 13LL | fn bar<T: Send>(_: T) {} 14 | ^^^^ required by this bound in `bar` 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0277`.