Move std::panic unit tests to integration tests
This commit is contained in:
parent
9baeb45309
commit
09c4dbf7fb
2 changed files with 4 additions and 7 deletions
|
|
@ -529,6 +529,3 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
|
|||
Err(new) => BacktraceStyle::from_u8(new),
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
Loading…
Add table
Add a link
Reference in a new issue