P0001 Memory Panics

Memory

cannot allocate from a destroyed arena; mem.destroy() was already called on this arena

When this occurs

This error is triggered when: cannot allocate from a destroyed arena; mem.destroy() was already called on this arena

Example error message

error[P0001]: cannot allocate from a destroyed arena; mem.destroy() was already called on this arena

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.