--> $DIR/mutexguard-sync.rs:11:15
|
LL | fn test_sync<T: Sync>(_t: T) {}
- | --------- ---- required by this bound in `test_sync`
+ | ---- required by this bound in `test_sync`
...
LL | test_sync(guard);
| ^^^^^ `std::cell::Cell<i32>` cannot be shared between threads safely