E1011: move or mutate of a frozen binding
An owner with a live abs view is frozen (ADR-0016).
An owner with a live abs view is frozen (ADR-0016). It may be read, but it
cannot be assigned or moved until the view ends, because the view must keep
seeing the same value. A view lives until the end of the block that holds it.
The error points at the assignment or the move. A field of a frozen owner is
reported as E1035.
Example
actus
actus
A struct with an abs field freezes its source the same way, until the end of
the block that builds the struct:
actus
Fix
Change or move the owner when no view exists, either before the view is created or after the block that holds it.
actus
actus
Run actus explain E1011 in your terminal to read this entry offline. Browse Ownership & types or all error codes.