about summary refs log tree commit diff
path: root/src/libstd/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/any.rs')
-rw-r--r--src/libstd/any.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstd/any.rs b/src/libstd/any.rs
index 84ccf574ba7..8cd8ca23b45 100644
--- a/src/libstd/any.rs
+++ b/src/libstd/any.rs
@@ -20,7 +20,6 @@ use util::Void;
 
 ///////////////////////////////////////////////////////////////////////////////
 // TypeId
-// FIXME: #9913 - Needs proper intrinsic support to work reliably cross crate
 ///////////////////////////////////////////////////////////////////////////////
 
 /// `TypeId` represents a globally unique identifier for a type
@@ -199,8 +198,10 @@ mod tests {
 
     #[test]
     fn type_id() {
-        let (a, b, c) = (TypeId::of::<uint>(), TypeId::of::<&str>(), TypeId::of::<Test>());
-        let (d, e, f) = (TypeId::of::<uint>(), TypeId::of::<&str>(), TypeId::of::<Test>());
+        let (a, b, c) = (TypeId::of::<uint>(), TypeId::of::<&'static str>(),
+                         TypeId::of::<Test>());
+        let (d, e, f) = (TypeId::of::<uint>(), TypeId::of::<&'static str>(),
+                         TypeId::of::<Test>());
 
         assert!(a != b);
         assert!(a != c);