Skip to content

Commit 8dd3363

Browse files
committed
Remove cfg(test) from library/core
1 parent 4de4deb commit 8dd3363

File tree

5 files changed

+649
-659
lines changed

5 files changed

+649
-659
lines changed

Diff for: core/src/error.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#![doc = include_str!("error.md")]
22
#![stable(feature = "error_in_core", since = "1.81.0")]
33

4-
#[cfg(test)]
5-
mod tests;
6-
74
use crate::any::TypeId;
85
use crate::fmt::{Debug, Display, Formatter, Result};
96

Diff for: core/tests/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ mod intrinsics;
141141
mod io;
142142
mod iter;
143143
mod lazy;
144-
#[cfg(test)]
145144
mod macros;
146145
mod manually_drop;
147146
mod mem;

0 commit comments

Comments
 (0)