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
Immovable generators require unsafe block, thus allowing every unsafe function inside generator to work. There is no way to say I want immovable generator, but its body should not be marked unsafe.
unsafe{static || {
yield;let a = Box::from_raw(0as*mutusize);}};
It can probably be fixed by adding new ImmovableGenerator trait and making creation of immovable generators safe.
Immovable generators require unsafe block, thus allowing every unsafe function inside generator to work. There is no way to say I want immovable generator, but its body should not be marked unsafe.
It can probably be fixed by adding new
ImmovableGenerator
trait and making creation of immovable generators safe.cc @Zoxc
The text was updated successfully, but these errors were encountered: