Files
rust/tests/ui/drop
Stuart Cook cd59ee791f 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
2025-09-04 10:01:53 +10:00
..
2024-11-22 11:12:15 -08:00
2025-07-25 20:38:54 +05:00
2025-06-30 07:49:20 -05:00
2025-07-05 01:54:04 +05:00
2025-07-05 01:54:04 +05:00
2025-08-09 16:27:20 +05:00
2025-08-09 16:27:20 +05:00
2025-06-30 07:49:20 -05:00
2025-08-09 16:27:20 +05:00
2024-03-23 12:38:50 +01:00
2025-08-05 19:34:46 +05:00
2025-08-09 16:27:20 +05:00
2025-07-25 20:38:54 +05:00