File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
branches/batch/src/libcore Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
29
29
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
30
30
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
31
31
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32
- refs/heads/batch: 56a9e2fcd5f0b737df81a39b22f72a55c95b44a2
32
+ refs/heads/batch: 24ccb34266c93a21b4cd1bef473c56087689c079
33
33
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 496dc4eae7de9d14cd49511a9acfbf5f11ae6c3f
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
Original file line number Diff line number Diff line change 42
42
#![ experimental]
43
43
#![ allow( missing_docs) ]
44
44
45
- #[ cfg( not( stage0) ) ]
46
- use marker:: Sized ;
47
-
48
45
pub type GlueFn = extern "Rust" fn ( * const i8 ) ;
49
46
50
47
#[ lang="ty_desc" ]
@@ -203,9 +200,6 @@ extern "rust-intrinsic" {
203
200
/// Gets an identifier which is globally unique to the specified type. This
204
201
/// function will return the same value for a type regardless of whichever
205
202
/// crate it is invoked in.
206
- #[ cfg( not( stage0) ) ]
207
- pub fn type_id < T : ?Sized + ' static > ( ) -> TypeId ;
208
- #[ cfg( stage0) ]
209
203
pub fn type_id < T : ' static > ( ) -> TypeId ;
210
204
211
205
/// Create a value initialized to zero.
@@ -556,19 +550,9 @@ pub struct TypeId {
556
550
}
557
551
558
552
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
562
554
pub fn of < T : ' static > ( ) -> TypeId {
563
555
unsafe { type_id :: < T > ( ) }
564
556
}
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
-
573
557
pub fn hash ( & self ) -> u64 { self . t }
574
558
}
You can’t perform that action at this time.
0 commit comments