mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 14:08:17 +00:00
Alloc `hir::Lit` in an arena to remove the destructor from `Expr` This allows allocating `Expr`s into a dropless arena, which is useful for using length prefixed thing slices in HIR, since these can only be allocated in the dropless arena and not in a typed arena.