Move std::panic unit tests to integration tests

This commit is contained in:
bjorn3 2025-01-17 09:39:09 +00:00
parent 9baeb45309
commit 09c4dbf7fb
2 changed files with 4 additions and 7 deletions

View file

@ -529,6 +529,3 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
Err(new) => BacktraceStyle::from_u8(new),
}
}
#[cfg(test)]
mod tests;

View file

@ -1,9 +1,9 @@
#![allow(dead_code)]
use crate::cell::RefCell;
use crate::panic::{AssertUnwindSafe, UnwindSafe};
use crate::rc::Rc;
use crate::sync::{Arc, Mutex, RwLock};
use std::cell::RefCell;
use std::panic::{AssertUnwindSafe, UnwindSafe};
use std::rc::Rc;
use std::sync::{Arc, Mutex, RwLock};
struct Foo {
a: i32,