about summary refs log tree commit diff
path: root/src/libcore/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/any.rs')
-rw-r--r--src/libcore/any.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 16760f71707..61c64ab8dee 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -97,6 +97,7 @@ pub trait Any: Reflect + 'static {
     fn get_type_id(&self) -> TypeId;
 }
 
+#[stable(feature = "rust1", since = "1.0.0")]
 impl<T: Reflect + 'static> Any for T {
     fn get_type_id(&self) -> TypeId { TypeId::of::<T>() }
 }