core: Inherit the kinds module

This commit is contained in:
Alex Crichton 2014-04-30 20:22:55 -07:00
parent 28624661c3
commit ec8a805b6d
3 changed files with 6 additions and 1 deletions

View File

@ -27,3 +27,7 @@ pub mod cast;
pub mod intrinsics;
pub mod mem;
pub mod ptr;
/* Core language traits */
pub mod kinds;

View File

@ -133,6 +133,8 @@ extern crate core;
#[cfg(test)] pub use ty = realstd::ty;
#[cfg(test)] pub use owned = realstd::owned;
#[cfg(not(test))] pub use kinds = core::kinds;
pub use core::cast;
pub use core::intrinsics;
pub use core::mem;
@ -202,7 +204,6 @@ pub mod gc;
/* Core language traits */
#[cfg(not(test))] pub mod kinds;
#[cfg(not(test))] pub mod ops;
#[cfg(not(test))] pub mod cmp;
#[cfg(not(test))] pub mod ty;