1 error[E0277]: the trait bound `std::cell::Cell<i32>: std::marker::Sync` is not satisfied
2 --> $DIR/not-send-sync.rs:26:5
5 | ^^^^^^^^^^^ `std::cell::Cell<i32>` cannot be shared between threads safely
7 = help: the trait `std::marker::Sync` is not implemented for `std::cell::Cell<i32>`
8 = note: required because of the requirements on the impl of `std::marker::Send` for `&std::cell::Cell<i32>`
9 = note: required because it appears within the type `[generator@$DIR/not-send-sync.rs:26:17: 30:6 a:&std::cell::Cell<i32> _]`
10 = note: required by `main::assert_send`
12 error[E0277]: the trait bound `std::cell::Cell<i32>: std::marker::Sync` is not satisfied in `[generator@$DIR/not-send-sync.rs:19:17: 23:6 ((), std::cell::Cell<i32>)]`
13 --> $DIR/not-send-sync.rs:19:5
16 | ^^^^^^^^^^^ `std::cell::Cell<i32>` cannot be shared between threads safely
18 = help: within `[generator@$DIR/not-send-sync.rs:19:17: 23:6 ((), std::cell::Cell<i32>)]`, the trait `std::marker::Sync` is not implemented for `std::cell::Cell<i32>`
19 = note: required because it appears within the type `((), std::cell::Cell<i32>)`
20 = note: required because it appears within the type `[generator@$DIR/not-send-sync.rs:19:17: 23:6 ((), std::cell::Cell<i32>)]`
21 = note: required by `main::assert_sync`
23 error: aborting due to 2 previous errors