P0002 Memory Panics

Memory

mem.destroy() called on an arena that was already destroyed; each arena can only be destroyed once

When this occurs

This error is triggered when: mem.destroy() called on an arena that was already destroyed; each arena can only be destroyed once

Example error message

error[P0002]: mem.destroy() called on an arena that was already destroyed; each arena can only be destroyed once

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.