summary refs log tree commit diff
path: root/src/test/ui/generator/partial-drop.rs
AgeCommit message (Collapse)AuthorLines
2022-02-28Enable drop-tracking tests behind -Zdrop-trackingEric Holk-3/+1
These were still disabled from the soft revert of drop tracking, which meant we were not catching regressions that were introduced while trying to fix drop tracking.
2022-01-21Disable drop range tracking in generatorsEric Holk-0/+4
Generator drop tracking caused an ICE for generators involving the Never type (Issue #93161). Since this breaks miri, we temporarily disable drop tracking so miri is unblocked while we properly fix the issue.
2022-01-18Respond to code review commentsEric Holk-1/+20
2022-01-18Safely handle partial dropsEric Holk-2/+2
We previously weren't tracking partial re-inits while being too aggressive around partial drops. With this change, we simply ignore partial drops, which is the safer, more conservative choice.
2022-01-18Address code review commentsEric Holk-0/+21
1. Add test case for partial drops 2. Simplify code in `propagate_to_fixpoint` and remove most clones 3. Clean up PostOrderIndex creation