]> git.proxmox.com Git - rustc.git/blobdiff - src/libcore/any.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / libcore / any.rs
index 16760f7170708e2d9abba7b8eb28c3a946f45c6e..61c64ab8deebd709ba1d75522ba3154d81a538be 100644 (file)
@@ -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>() }
 }