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-02-13 13:59:51 +0100
committerRalf Jung <post@ralfj.de>2019-02-13 18:21:13 +0100
commitb17ca0107755f60a1760f1dca17240cd70d15c5f (patch)
tree9ca6229c0bd86c5dca48196f7d6e18f1aa9d4bd3 /src/liballoc/tests/binary_heap.rs
parente24af6c2b32679e398b2a2b1bc81ab9c258d8765 (diff)
downloadrust-b17ca0107755f60a1760f1dca17240cd70d15c5f.tar.gz
rust-b17ca0107755f60a1760f1dca17240cd70d15c5f.zip
review failures in binary_heap, str, vec_deque
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 c1a1c5d8878..1d4a3edc1ac 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))]
+#[cfg(not(miri))] // Miri does not support panics
 fn panic_safe() {
     static DROP_COUNTER: AtomicUsize = AtomicUsize::new(0);