Skip to content

Commit 17cb238

Browse files
committed
core: Inherit the raw module
1 parent 8ed728b commit 17cb238

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/libcore/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ pub mod container;
3939

4040
pub mod any;
4141
pub mod finally;
42+
pub mod raw;
4243
pub mod char;

src/libstd/raw.rs renamed to src/libcore/raw.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
#![allow(missing_doc)]
12+
#![experimental]
1213

1314
//! Contains struct definitions for the layout of compiler built-in types.
1415
//!

src/libstd/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ pub use core::container;
144144
pub use core::intrinsics;
145145
pub use core::mem;
146146
pub use core::ptr;
147+
pub use core::raw;
147148

148149
// Run tests with libgreen instead of libnative.
149150
//
@@ -255,8 +256,6 @@ pub mod reflect;
255256
// Private APIs
256257
#[unstable]
257258
pub mod unstable;
258-
#[experimental]
259-
pub mod raw;
260259

261260
/* For internal use, not exported */
262261

0 commit comments

Comments
 (0)