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:
parent
0d0a290614
commit
4705475be2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user