Commit c27a6bf
committed
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.1 parent 99768c8 commit c27a6bf
File tree
3 files changed
+1627
-0
lines changed- tests/ui/drop
3 files changed
+1627
-0
lines changed
0 commit comments