1
Fork 0

we can now skip should_panic tests with the libtest harness

This commit is contained in:
Ralf Jung 2019-03-10 17:45:45 +01:00
parent 913ad6d1f0
commit 4888b1fb99
14 changed files with 1 additions and 91 deletions

View file

@ -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);