diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-30 20:22:55 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:13:06 -0700 |
| commit | ec8a805b6dafc78e692b0a0f8de1a56c5f0dcc0f (patch) | |
| tree | 51b72f47bf2cf2f5920130a4b6f655d4100c6c3f /src/libstd/lib.rs | |
| parent | 28624661c3ab16331d134fdbbfb2fd10513e9411 (diff) | |
| download | rust-ec8a805b6dafc78e692b0a0f8de1a56c5f0dcc0f.tar.gz rust-ec8a805b6dafc78e692b0a0f8de1a56c5f0dcc0f.zip | |
core: Inherit the kinds module
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 066886ba382..350bb4bbaec 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -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; |
