-
Couldn't load subscription status.
- Fork 13.9k
Test leaking of BinaryHeap Drain iterators #94145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
cc @Amanieu since some of these tests relate to panic-in-drop. |
|
These tests are fine for now, we'll probably revisit them when we change the default for panic-in-drop. |
|
☔ The latest upstream changes (presumably #94824) made this pull request unmergeable. Please resolve the merge conflicts. |
7eb9dd1 to
0ee76a3
Compare
|
@bors r+ rollup |
Test leaking of BinaryHeap Drain iterators Add test cases about forgetting the `BinaryHeap::Drain` iterator, and slightly fortifies some other test cases. Consists of separate commits that I don't think are relevant on their own (but I'll happily turn these into more PRs if desired).
…fee1-dead Rollup of 9 pull requests Successful merges: - rust-lang#94145 (Test leaking of BinaryHeap Drain iterators) - rust-lang#103945 (Remove `iter::Empty` hack) - rust-lang#104024 (Fix `unused_must_use` warning for `Box::from_raw`) - rust-lang#104708 (Fix backoff doc to match implementation) - rust-lang#105347 (Account for `match` expr in single line) - rust-lang#105484 (Implement allow-by-default `multiple_supertrait_upcastable` lint) - rust-lang#106184 (Fix `core::any` docs) - rust-lang#106201 (Emit fewer errors on invalid `#[repr(transparent)]` on `enum`) - rust-lang#106205 (Remove some totally duplicated files in `rustc_infer`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Add test cases about forgetting the
BinaryHeap::Drainiterator, and slightly fortifies some other test cases.Consists of separate commits that I don't think are relevant on their own (but I'll happily turn these into more PRs if desired).