Mark Any::get_type_id as experimental

It is likely going to be removed and replaced
with an associated static.

Fixes #19222
This commit is contained in:
Jonathan Reem 2014-11-22 15:30:26 -08:00
parent 0d0a290614
commit 4705475be2

View File

@ -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;
}