]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #101499 - spastorino:add-lowering-arena, r=oli-obk
authorMichael Goulet <michael@errs.io>
Thu, 8 Sep 2022 21:41:08 +0000 (14:41 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2022 21:41:08 +0000 (14:41 -0700)
commit1499c089df8c74b3a8f4d7d9f7de203c7bc38003
tree99c7f1d2430cf3f2e714e068b212066513d2ed89
parent2c4dc4f494d26bf7df40895e594de3f0aeb24337
parentd9a1faaa9cff6eab069ea8e5cd7862d0ae48e231
Rollup merge of #101499 - spastorino:add-lowering-arena, r=oli-obk

Introduce lowering_arena to avoid creating AST nodes on the fly

`@oli-obk` requested this and other changes as a way of simplifying https://github.com/rust-lang/rust/pull/101345. This is just going to make the diff of https://github.com/rust-lang/rust/pull/101345 smaller.

r? `@oli-obk` `@cjgillot`
compiler/rustc_ast_lowering/src/item.rs
compiler/rustc_ast_lowering/src/lib.rs