]> git.lizzy.rs Git - rust.git/commitdiff
Mark Any::get_type_id as experimental
authorJonathan Reem <jonathan.reem@gmail.com>
Sat, 22 Nov 2014 23:30:26 +0000 (15:30 -0800)
committerJonathan Reem <jonathan.reem@gmail.com>
Sat, 22 Nov 2014 23:31:51 +0000 (15:31 -0800)
It is likely going to be removed and replaced
with an associated static.

Fixes #19222

src/libcore/any.rs

index 5511266b4cd2276600c3b8fdf9232fa903c3f37a..9f8e3846de9c1091cd8cb9ec4ae6db97fcc9e39e 100644 (file)
@@ -88,7 +88,7 @@
 #[stable]
 pub trait Any: 'static {
     /// Get the `TypeId` of `self`
-    #[stable]
+    #[experimental = "this method will likely be replaced by an associated static"]
     fn get_type_id(&self) -> TypeId;
 }