about summary refs log tree commit diff
path: root/src/liballoc/tests/binary_heap.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-03-10 17:45:45 +0100
committerRalf Jung <post@ralfj.de>2019-03-10 17:47:42 +0100
commit4888b1fb99f1bf6a58bebaededdfbf4477383634 (patch)
tree979907d0e9278175267ccfc539fc9a54622eb36d /src/liballoc/tests/binary_heap.rs
parent913ad6d1f092c70049934ba538d342d295d35997 (diff)
downloadrust-4888b1fb99f1bf6a58bebaededdfbf4477383634.tar.gz
rust-4888b1fb99f1bf6a58bebaededdfbf4477383634.zip
we can now skip should_panic tests with the libtest harness
Diffstat (limited to 'src/liballoc/tests/binary_heap.rs')
-rw-r--r--src/liballoc/tests/binary_heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/binary_heap.rs b/src/liballoc/tests/binary_heap.rs
index 1d4a3edc1ac..a97a790f5a2 100644
--- a/src/liballoc/tests/binary_heap.rs
+++ b/src/liballoc/tests/binary_heap.rs
@@ -282,7 +282,7 @@ fn assert_covariance() {
 //
 // Destructors must be called exactly once per element.
 #[test]
-#[cfg(not(miri))] // Miri does not support panics
+#[cfg(not(miri))] // Miri does not support entropy
 fn panic_safe() {
     static DROP_COUNTER: AtomicUsize = AtomicUsize::new(0);