From 4705475be2748b07144c02a5bfc5d355f9496482 Mon Sep 17 00:00:00 2001 From: Jonathan Reem Date: Sat, 22 Nov 2014 15:30:26 -0800 Subject: [PATCH] Mark Any::get_type_id as experimental It is likely going to be removed and replaced with an associated static. Fixes #19222 --- src/libcore/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/any.rs b/src/libcore/any.rs index 5511266b4cd22..9f8e3846de9c1 100644 --- a/src/libcore/any.rs +++ b/src/libcore/any.rs @@ -88,7 +88,7 @@ use intrinsics::TypeId; #[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; }