diff options
| author | Brian Anderson <banderson@mozilla.com> | 2015-01-22 18:22:03 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-01-23 13:28:40 -0800 |
| commit | cd6d9eab5d75584edfcae4ffdef8b0836db80c1e (patch) | |
| tree | fff2c174986eaab33f67390d0a114d508966fe68 /src/libcore/clone.rs | |
| parent | f86bcc1543cb053363c5e6818a2ad44877ea8361 (diff) | |
| download | rust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.tar.gz rust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.zip | |
Set unstable feature names appropriately
* `core` - for the core crate * `hash` - hashing * `io` - io * `path` - path * `alloc` - alloc crate * `rand` - rand crate * `collections` - collections crate * `std_misc` - other parts of std * `test` - test crate * `rustc_private` - everything else
Diffstat (limited to 'src/libcore/clone.rs')
| -rw-r--r-- | src/libcore/clone.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/clone.rs b/src/libcore/clone.rs index 243a30c6737..360bcdddc85 100644 --- a/src/libcore/clone.rs +++ b/src/libcore/clone.rs @@ -36,7 +36,7 @@ pub trait Clone : Sized { /// but can be overridden to reuse the resources of `a` to avoid unnecessary /// allocations. #[inline(always)] - #[unstable(feature = "unnamed_feature", + #[unstable(feature = "core", reason = "this function is rarely used")] fn clone_from(&mut self, source: &Self) { *self = source.clone() @@ -82,7 +82,7 @@ clone_impl! { char } macro_rules! extern_fn_clone { ($($A:ident),*) => ( - #[unstable(feature = "unnamed_feature", + #[unstable(feature = "core", reason = "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 |
