about summary refs log tree commit diff
path: root/src/libcore/any.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-07 15:48:16 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-08 03:07:23 -0800
commit1f70acbf4c4f345265a7626bd927187d3bfed91f (patch)
tree8f8c034b67d5284d8a5a1d056e5497e80bbfae60 /src/libcore/any.rs
parent5364c4853fa61aced8fdf773d9de41b929a0d318 (diff)
downloadrust-1f70acbf4c4f345265a7626bd927187d3bfed91f.tar.gz
rust-1f70acbf4c4f345265a7626bd927187d3bfed91f.zip
Improvements to feature staging
This gets rid of the 'experimental' level, removes the non-staged_api
case (i.e. stability levels for out-of-tree crates), and lets the
staged_api attributes use 'unstable' and 'deprecated' lints.

This makes the transition period to the full feature staging design
a bit nicer.
Diffstat (limited to 'src/libcore/any.rs')
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 25007bfde93..797687a9ad9 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -89,7 +89,7 @@ use intrinsics::TypeId;
 #[stable]
 pub trait Any: 'static {
     /// Get the `TypeId` of `self`
-    #[experimental = "this method will likely be replaced by an associated static"]
+    #[unstable = "this method will likely be replaced by an associated static"]
     fn get_type_id(&self) -> TypeId;
 }