about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example
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
commit1be24d70ced0d6b8d41a48b6a28b3790f6facf4c (patch)
tree275c2506cc2bcc0ba00af38fa98a47135183ea83 /compiler/rustc_codegen_gcc/example
parent468310ea0cdec87460b83710a3a78825bcae73c5 (diff)
parent321d69d1955fe02d25129a353218f1e56e28a3bb (diff)
downloadrust-1be24d70ced0d6b8d41a48b6a28b3790f6facf4c.tar.gz
rust-1be24d70ced0d6b8d41a48b6a28b3790f6facf4c.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_gcc/example')
0 files changed, 0 insertions, 0 deletions