Skip to content

Commit 8ab19fd

Browse files
committed
---
yaml --- r: 171481 b: refs/heads/batch c: 24ccb34 h: refs/heads/master i: 171479: 1c8f53d v: v3
1 parent 6ddb32f commit 8ab19fd

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 56a9e2fcd5f0b737df81a39b22f72a55c95b44a2
32+
refs/heads/batch: 24ccb34266c93a21b4cd1bef473c56087689c079
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 496dc4eae7de9d14cd49511a9acfbf5f11ae6c3f
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/src/libcore/intrinsics.rs

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
#![experimental]
4343
#![allow(missing_docs)]
4444

45-
#[cfg(not(stage0))]
46-
use marker::Sized;
47-
4845
pub type GlueFn = extern "Rust" fn(*const i8);
4946

5047
#[lang="ty_desc"]
@@ -203,9 +200,6 @@ extern "rust-intrinsic" {
203200
/// Gets an identifier which is globally unique to the specified type. This
204201
/// function will return the same value for a type regardless of whichever
205202
/// crate it is invoked in.
206-
#[cfg(not(stage0))]
207-
pub fn type_id<T: ?Sized + 'static>() -> TypeId;
208-
#[cfg(stage0)]
209203
pub fn type_id<T: 'static>() -> TypeId;
210204

211205
/// Create a value initialized to zero.
@@ -556,19 +550,9 @@ pub struct TypeId {
556550
}
557551

558552
impl TypeId {
559-
/// Returns the `TypeId` of the type this generic function has been
560-
/// instantiated with
561-
#[cfg(stage0)]
553+
/// Returns the `TypeId` of the type this generic function has been instantiated with
562554
pub fn of<T: 'static>() -> TypeId {
563555
unsafe { type_id::<T>() }
564556
}
565-
566-
/// Returns the `TypeId` of the type this generic function has been
567-
/// instantiated with
568-
#[cfg(not(stage0))]
569-
pub fn of<T: ?Sized + 'static>() -> TypeId {
570-
unsafe { type_id::<T>() }
571-
}
572-
573557
pub fn hash(&self) -> u64 { self.t }
574558
}

0 commit comments

Comments
 (0)