From 05b557cfc981e4fc05fb47380e471f50cd23869d Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 12 Dec 2020 19:20:37 +0300 Subject: [PATCH] Remove some no longer necessary `#[cfg(test)]`s With https://github.com/rust-lang/rust/pull/69838 inner modules are never touched in the outer module is unconfigured. --- compiler/rustc_expand/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/rustc_expand/src/lib.rs b/compiler/rustc_expand/src/lib.rs index 47247294f5dc6..3b722c04cb154 100644 --- a/compiler/rustc_expand/src/lib.rs +++ b/compiler/rustc_expand/src/lib.rs @@ -36,16 +36,13 @@ crate mod mbe; mod tests; #[cfg(test)] mod parse { - #[cfg(test)] mod tests; } #[cfg(test)] mod tokenstream { - #[cfg(test)] mod tests; } #[cfg(test)] mod mut_visit { - #[cfg(test)] mod tests; }