about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-07 09:08:59 +0000
committerbors <bors@rust-lang.org>2024-06-07 09:08:59 +0000
commit127f3e18c12d1f8c0f3b4a33a13cefdc39bc5d60 (patch)
treee70129109bc42aa79ddb5ca8022ae7904ae608ec /compiler/rustc_codegen_llvm/src/errors.rs
parent3e43cfcf24eccf248a4e41df96288d0601e1acbe (diff)
parentabd011638dffe2586a382b4e89823bf2b84b5a4d (diff)
downloadrust-127f3e18c12d1f8c0f3b4a33a13cefdc39bc5d60.tar.gz
rust-127f3e18c12d1f8c0f3b4a33a13cefdc39bc5d60.zip
Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errors
Revert: create const block bodies in typeck via query feeding

as per the discussion in https://github.com/rust-lang/rust/pull/125806#discussion_r1622563948

It was a mistake to try to shoehorn const blocks and some specific anon consts into the same box and feed them during typeck. It turned out not simplifying anything (my hope was that we could feed `type_of` to start avoiding the huge HIR matcher, but that didn't work out), but instead making a few things more fragile.

reverts the const-block-specific parts of https://github.com/rust-lang/rust/pull/124650

`@bors` rollup=never had a small perf impact previously

fixes https://github.com/rust-lang/rust/issues/125846

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions