Skip to content

Commit

Permalink
Mark Any::get_type_id as experimental
Browse files Browse the repository at this point in the history
It is likely going to be removed and replaced
with an associated static.

Fixes #19222
  • Loading branch information
reem committed Nov 22, 2014
1 parent 0d0a290 commit 4705475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

5 comments on commit 4705475

@bors
Copy link
Contributor

@bors bors commented on 4705475 Nov 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from aturon
at reem@4705475

@bors
Copy link
Contributor

@bors bors commented on 4705475 Nov 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging reem/rust/any-typeid-unstable = 4705475 into auto

@bors
Copy link
Contributor

@bors bors commented on 4705475 Nov 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reem/rust/any-typeid-unstable = 4705475 merged ok, testing candidate = c637cab

@bors
Copy link
Contributor

@bors bors commented on 4705475 Nov 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 4705475 Nov 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = c637cab

Please sign in to comment.