Skip to content

Commit 2ad98fb

Browse files
committed
core: Inherit the ty module
1 parent ead6e16 commit 2ad98fb

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/libcore/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ pub mod ptr;
3232

3333
pub mod kinds;
3434
pub mod ops;
35+
pub mod ty;
File renamed without changes.

src/libstd/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ extern crate core;
135135

136136
#[cfg(not(test))] pub use kinds = core::kinds;
137137
#[cfg(not(test))] pub use ops = core::ops;
138+
#[cfg(not(test))] pub use ty = core::ty;
138139

139140
pub use core::cast;
140141
pub use core::intrinsics;
@@ -196,7 +197,6 @@ pub mod strbuf;
196197

197198
pub mod ascii;
198199

199-
pub mod owned;
200200
mod managed;
201201
mod reference;
202202
pub mod rc;
@@ -206,7 +206,6 @@ pub mod gc;
206206
/* Core language traits */
207207

208208
#[cfg(not(test))] pub mod cmp;
209-
#[cfg(not(test))] pub mod ty;
210209
#[cfg(not(test))] pub mod owned;
211210

212211

0 commit comments

Comments
 (0)