1 error[E0277]: `Foo` cannot be shared between threads safely
2 --> $DIR/no_share-struct.rs:12:9
4 LL | fn bar<T: Sync>(_: T) {}
5 | ---- required by this bound in `bar`
8 | ^ `Foo` cannot be shared between threads safely
10 = help: the trait `std::marker::Sync` is not implemented for `Foo`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0277`.