about summary refs log tree commit diff
path: root/src/libcore/clone.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/clone.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/clone.rs')
-rw-r--r--src/libcore/clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/clone.rs b/src/libcore/clone.rs
index 3149247a83a..ffa6d085543 100644
--- a/src/libcore/clone.rs
+++ b/src/libcore/clone.rs
@@ -81,7 +81,7 @@ clone_impl! { char }
 
 macro_rules! extern_fn_clone {
     ($($A:ident),*) => (
-        #[experimental = "this may not be sufficient for fns with region parameters"]
+        #[unstable = "this may not be sufficient for fns with region parameters"]
         impl<$($A,)* ReturnType> Clone for extern "Rust" fn($($A),*) -> ReturnType {
             /// Return a copy of a function pointer
             #[inline]