We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a8ed17 commit 8279918Copy full SHA for 8279918
std/src/panic.rs
@@ -529,6 +529,3 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
529
Err(new) => BacktraceStyle::from_u8(new),
530
}
531
532
-
533
-#[cfg(test)]
534
-mod tests;
std/src/panic/tests.rs renamed to std/tests/panic.rs
@@ -1,9 +1,9 @@
1
#![allow(dead_code)]
2
3
-use crate::cell::RefCell;
4
-use crate::panic::{AssertUnwindSafe, UnwindSafe};
5
-use crate::rc::Rc;
6
-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};
7
8
struct Foo {
9
a: i32,
0 commit comments