diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-03-25 10:12:35 +0000 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-04-16 15:35:51 +0000 |
| commit | 34ed5c3efc839913d2dcfcbc60e8f11c3423d87b (patch) | |
| tree | 34ee36eac838d5ab739be1ab531b1a18b0215882 /compiler/rustc_codegen_llvm/src | |
| parent | 1b50ea9abb65b33aac7285dbe36b37f9e33381a2 (diff) | |
| download | rust-34ed5c3efc839913d2dcfcbc60e8f11c3423d87b.tar.gz rust-34ed5c3efc839913d2dcfcbc60e8f11c3423d87b.zip | |
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. This is something I'm working on.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
