about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-04 10:01:53 +1000
committerGitHub <noreply@github.com>2025-09-04 10:01:53 +1000
commitcd59ee791f9a1c8c41a585c3781c4c02c3128c08 (patch)
tree6919c4c08a87da54aeb98cf8ab33560d2c852686 /compiler/rustc_codegen_llvm/src/builder.rs
parent98f6887f359e791b430fb69b7ed68460343167b9 (diff)
parent8fc3938d9961568dfec38b10506f33fd9bc7c147 (diff)
downloadrust-cd59ee791f9a1c8c41a585c3781c4c02c3128c08.tar.gz
rust-cd59ee791f9a1c8c41a585c3781c4c02c3128c08.zip
Rollup merge of #145342 - dianne:if-let-super-let, r=nnethercote
fix drop scope for `super let` bindings within `if let`

Fixes rust-lang/rust#145328 by making non-lifetime-extended `super let` reuse the logic used to compute drop scopes for non-lifetime-extended temporaries.

Also fixes rust-lang/rust#145374, which regressed due to rust-lang/rust#143376 introducing `if let`-like scopes for match arms with guards.

Tracking issue for `super let`: rust-lang/rust#139076

This is a regression fix / breaking change for macros stably exposing `super let`, including `pin!` and `format_args!`.
Nominating to be discussed alongside rust-lang/rust#145328: ```@rustbot``` label +I-lang-nominated +I-libs-api-nominated
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions