summary refs log tree commit diff
path: root/src/test/run-pass/binary-heap-panic-safe.rs
AgeCommit message (Collapse)AuthorLines
2016-05-30std: Clean out old unstable + deprecated APIsAlex Crichton-4/+4
These should all have been deprecated for at least one cycle, so this commit cleans them all out.
2016-03-17Make AssertRecoverSafe's field publicSteven Fackler-1/+1
It's basically the very definition of a newtype, so we might as well make things easy on people and let them construct and access it directly.
2015-12-09std: Rename thread::catch_panic to panic::recoverAlex Crichton-21/+12
This commit is an implementation of [RFC 1236] and [RFC 1323] which rename the `thread::catch_panic` function to `panic::recover` while also replacing the `Send + 'static` bounds with a new `PanicSafe` bound. [RFC 1236]: https://github.com/rust-lang/rfcs/pull/1236 [RFC 1323]: https://github.com/rust-lang/rfcs/pull/1323 cc #27719
2015-09-01Add missing stability markings to BinaryHeap.Eli Friedman-1/+1
2015-06-17Fallout in tests and docs from feature renamingsAlex Crichton-1/+1
2015-05-28collections: Make BinaryHeap panic safe in sift_up / sift_downUlrik Sverdrup-0/+108
Use a struct called Hole that keeps track of an invalid location in the vector and fills the hole on drop. I include a run-pass test that the current BinaryHeap fails, and the new one passes. Fixes #25842