add AllocateInArena as a Pivot for arena_alloc!

so that the value type passed to `arena_alloc!` can differ from the `ArenaAllocated::Payload` type
This commit is contained in:
Bennet Bleßmann
2024-07-07 14:36:53 +02:00
parent 74720d4d2e
commit 213ee5ca45
2 changed files with 23 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
use lexical::parse_lossy;
use crate::arena::ArenaAllocated;
use crate::atom_table::*;
pub use crate::machine::machine_state::*;
use crate::parser::ast::*;