Skip to content

Commit

Permalink
Add extensive set of drop order tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
traviscross committed Jan 23, 2025
1 parent 99768c8 commit c27a6bf
Show file tree
Hide file tree
Showing 3 changed files with 1,627 additions and 0 deletions.
Loading

0 comments on commit c27a6bf

Please sign in to comment.