You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ----------- ---- required by this bound in `main::assert_sync`
19
19
...
20
20
LL | assert_sync(|| {
21
-
| ^^^^^^^^^^^ future returned by `main` is not `Sync`
21
+
| ^^^^^^^^^^^ generator is not `Sync`
22
22
|
23
23
= help: within `[generator@$DIR/not-send-sync.rs:9:17: 13:6 {std::cell::Cell<i32>, ()}]`, the trait `std::marker::Sync` is not implemented for `std::cell::Cell<i32>`
24
24
note: future is not `Sync` as this value is used across an yield
0 commit comments