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