diff options
| author | bors <bors@rust-lang.org> | 2020-09-07 02:20:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-07 02:20:44 +0000 |
| commit | c133aac1e955c463fb0ce3af1a9160119e2f686e (patch) | |
| tree | 95fbbd7b5f1c3b5176639ceb9d9569c135363f90 | |
| parent | 838325726a05855f10fbb6b3dc7165a7d8dde7b9 (diff) | |
| parent | 24dc182f2013cf53c23120ae1a09d256c8c98fa8 (diff) | |
Auto merge of #76409 - jonas-schievink:fix-r-a-on-libcore, r=Mark-Simulacrum
Remove unneeded `#[cfg(not(test))]` from libcore This fixes rust-analyzer inside these modules (currently it does not analyze them, assuming they're configured out).
| -rw-r--r-- | library/core/src/lib.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index aef82a5aec5..29bbf062f22 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -220,52 +220,41 @@ pub mod ptr; /* Core language traits */ pub mod borrow; -#[cfg(not(test))] // See #65860 pub mod clone; -#[cfg(not(test))] // See #65860 pub mod cmp; pub mod convert; -#[cfg(not(test))] // See #65860 pub mod default; -#[cfg(not(test))] // See #65860 pub mod marker; pub mod ops; /* Core types and methods on primitives */ pub mod any; -#[cfg(not(test))] // See #65860 pub mod array; pub mod ascii; pub mod cell; pub mod char; pub mod ffi; -#[cfg(not(test))] // See #65860 pub mod iter; #[unstable(feature = "once_cell", issue = "74465")] pub mod lazy; pub mod option; pub mod panic; pub mod panicking; -#[cfg(not(test))] // See #65860 pub mod pin; pub mod raw; pub mod result; pub mod sync; -#[cfg(not(test))] // See #65860 pub mod fmt; -#[cfg(not(test))] // See #65860 pub mod hash; pub mod slice; -#[cfg(not(test))] // See #65860 pub mod str; pub mod time; pub mod unicode; /* Async */ -#[cfg(not(test))] // See #65860 pub mod future; pub mod task; |
