Skip to content

Commit ead6e16

Browse files
committed
core: Inherit the ops module
1 parent ec8a805 commit ead6e16

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/libcore/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ pub mod ptr;
3131
/* Core language traits */
3232

3333
pub mod kinds;
34+
pub mod ops;
File renamed without changes.

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ extern crate core;
134134
#[cfg(test)] pub use owned = realstd::owned;
135135

136136
#[cfg(not(test))] pub use kinds = core::kinds;
137+
#[cfg(not(test))] pub use ops = core::ops;
137138

138139
pub use core::cast;
139140
pub use core::intrinsics;
@@ -204,7 +205,6 @@ pub mod gc;
204205

205206
/* Core language traits */
206207

207-
#[cfg(not(test))] pub mod ops;
208208
#[cfg(not(test))] pub mod cmp;
209209
#[cfg(not(test))] pub mod ty;
210210
#[cfg(not(test))] pub mod owned;

0 commit comments

Comments
 (0)