Skip to content

Commit c637cab

Browse files
committed
auto merge of #19223 : reem/rust/any-typeid-unstable, r=aturon
It is likely going to be removed and replaced with an associated static.
2 parents 3959013 + 4705475 commit c637cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ use intrinsics::TypeId;
8888
#[stable]
8989
pub trait Any: 'static {
9090
/// Get the `TypeId` of `self`
91-
#[stable]
91+
#[experimental = "this method will likely be replaced by an associated static"]
9292
fn get_type_id(&self) -> TypeId;
9393
}
9494

0 commit comments

Comments
 (0)