Skip to content

Commit

Permalink
Unrolled build for rust-lang#133605
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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:

- rust-lang#132833

r? ghost

cc `@ehuss` `@dingxiangfei2009` `@nikomatsakis`
  • Loading branch information
rust-timer authored Jan 24, 2025
2 parents 48ef38d + c27a6bf commit 1ef976d
Show file tree
Hide file tree
Showing 3 changed files with 1,627 additions and 0 deletions.
Loading

0 comments on commit 1ef976d

Please sign in to comment.