|
= help: the trait `Sync` is not implemented for `Cell<i32>`
= note: required because of the requirements on the impl of `Send` for `&'_#4r Cell<i32>`
- = note: required because it appears within the type `[main::{closure#1} upvar_tys=(&'_#4r Cell<i32>) _#17t]`
+note: required because it's used within this generator
+ --> $DIR/generator-print-verbose-2.rs:19:17
+ |
+LL | assert_send(|| {
+ | _________________^
+LL | |
+LL | | drop(&a);
+LL | | yield;
+LL | | });
+ | |_____^
note: required by a bound in `assert_send`
--> $DIR/generator-print-verbose-2.rs:10:23
|