about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-24 08:08:05 +0100
committerGitHub <noreply@github.com>2025-01-24 08:08:05 +0100
commita7922dbb3f78b3486141c317c5f76aa6f023e8d7 (patch)
tree782d2027ffe84383d0b19147998af0ffb8aaf3f1 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent1c9837df1dde9b234229709e89b3672bd3cf04a4 (diff)
parentc27a6bf042c212ae073ffebb79b897ab6ecb1a39 (diff)
downloadrust-a7922dbb3f78b3486141c317c5f76aa6f023e8d7.tar.gz
rust-a7922dbb3f78b3486141c317c5f76aa6f023e8d7.zip
Rollup merge of #133605 - traviscross:TC/add-2024-drop-order-tests, r=compiler-errors
Add extensive set of drop order tests

On lang, we've recently been discussing the drop order with respect to `let` chains apropos of how we shortened temporary lifetimes in Rust 2024 and how we may shorten them further in the future.

Here we add an extensive set of tests that demonstrate the drop order in the cases that interest us.

Regarding the let chains stabilization prompting this analysis, see:

- https://github.com/rust-lang/rust/pull/132833

r? ghost

cc `@ehuss` `@dingxiangfei2009` `@nikomatsakis`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions