diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-11-30 16:38:07 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-03 14:31:54 -0800 |
| commit | acc5e32e53d313a890a07cb0b693ce8df5bc94ce (patch) | |
| tree | 2ac4923981b4e5e96562aa5525eadab1ccf4f834 /src/libstd/unstable | |
| parent | 4252a24ae1236207a99c1d313d4b1b1eda3ebb58 (diff) | |
| download | rust-acc5e32e53d313a890a07cb0b693ce8df5bc94ce.tar.gz rust-acc5e32e53d313a890a07cb0b693ce8df5bc94ce.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd/unstable')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 01b4225d70b..d3649f0285c 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -313,9 +313,6 @@ extern "rust-intrinsic" { /// Gets an identifier which is globally unique to the specified type. This /// function will return the same value for a type regardless of whichever /// crate it is invoked in. - #[cfg(stage0)] - pub fn type_id<T: 'static>() -> u64; - #[cfg(not(stage0))] pub fn type_id<T: 'static>() -> TypeId; @@ -504,7 +501,6 @@ pub struct TypeId { #[cfg(not(test))] impl TypeId { /// Returns the `TypeId` of the type this generic function has been instantiated with - #[cfg(not(stage0))] pub fn of<T: 'static>() -> TypeId { unsafe { type_id::<T>() } } |
