about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-08-12 17:23:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-15 18:09:16 -0700
commitb7dcf272d90657bfea13e54939ee04fed7c7f5f0 (patch)
treecdea478a10b63039317b56c9ce427f6fb67db182 /src/libcore/num
parent6634777ae0a89a535d7b43cd95c227724818a260 (diff)
downloadrust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.tar.gz
rust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.zip
core: Fill out issues for unstable features
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/flt2dec/mod.rs3
-rw-r--r--src/libcore/num/int_macros.rs6
-rw-r--r--src/libcore/num/mod.rs18
-rw-r--r--src/libcore/num/uint_macros.rs6
-rw-r--r--src/libcore/num/wrapping.rs3
5 files changed, 24 insertions, 12 deletions
diff --git a/src/libcore/num/flt2dec/mod.rs b/src/libcore/num/flt2dec/mod.rs
index 40fa2a5563d..91e1d6e4e51 100644
--- a/src/libcore/num/flt2dec/mod.rs
+++ b/src/libcore/num/flt2dec/mod.rs
@@ -127,7 +127,8 @@ functions.
 // only made public for testing. do not expose us.
 #![doc(hidden)]
 #![unstable(feature = "flt2dec",
-            reason = "internal routines only exposed for testing")]
+            reason = "internal routines only exposed for testing",
+            issue = "0")]
 
 use prelude::v1::*;
 use i16;
diff --git a/src/libcore/num/int_macros.rs b/src/libcore/num/int_macros.rs
index cb9bffca842..61dcbdff016 100644
--- a/src/libcore/num/int_macros.rs
+++ b/src/libcore/num/int_macros.rs
@@ -15,13 +15,15 @@ macro_rules! int_module { ($T:ty, $bits:expr) => (
 // FIXME(#11621): Should be deprecated once CTFE is implemented in favour of
 // calling the `mem::size_of` function.
 #[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function")]
+           reason = "may want to be an associated function",
+           issue = "27753")]
 #[allow(missing_docs)]
 pub const BITS : usize = $bits;
 // FIXME(#11621): Should be deprecated once CTFE is implemented in favour of
 // calling the `mem::size_of` function.
 #[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function")]
+           reason = "may want to be an associated function",
+           issue = "27753")]
 #[allow(missing_docs)]
 pub const BYTES : usize = ($bits / 8);
 
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index e96a2cf3b88..086437445de 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -51,7 +51,8 @@ pub mod dec2flt;
 /// This trait is intended for use in conjunction with `Add`, as an identity:
 /// `x + T::zero() == x`.
 #[unstable(feature = "zero_one",
-           reason = "unsure of placement, wants to use associated constants")]
+           reason = "unsure of placement, wants to use associated constants",
+           issue = "27739")]
 pub trait Zero {
     /// The "zero" (usually, additive identity) for this type.
     fn zero() -> Self;
@@ -62,7 +63,8 @@ pub trait Zero {
 /// This trait is intended for use in conjunction with `Mul`, as an identity:
 /// `x * T::one() == x`.
 #[unstable(feature = "zero_one",
-           reason = "unsure of placement, wants to use associated constants")]
+           reason = "unsure of placement, wants to use associated constants",
+           issue = "27739")]
 pub trait One {
     /// The "one" (usually, multiplicative identity) for this type.
     fn one() -> Self;
@@ -1262,7 +1264,8 @@ pub enum FpCategory {
 /// A built-in floating point number.
 #[doc(hidden)]
 #[unstable(feature = "core_float",
-           reason = "stable interface is via `impl f{32,64}` in later crates")]
+           reason = "stable interface is via `impl f{32,64}` in later crates",
+           issue = "27702")]
 pub trait Float: Sized {
     /// Returns the NaN value.
     fn nan() -> Self;
@@ -1525,7 +1528,8 @@ enum IntErrorKind {
 impl ParseIntError {
     #[unstable(feature = "int_error_internals",
                reason = "available through Error trait and this method should \
-                         not be exposed publicly")]
+                         not be exposed publicly",
+               issue = "0")]
     #[doc(hidden)]
     pub fn __description(&self) -> &str {
         match self.kind {
@@ -1550,13 +1554,15 @@ impl fmt::Display for ParseIntError {
 pub struct ParseFloatError {
     #[doc(hidden)]
     #[unstable(feature = "float_error_internals",
-               reason = "should not be exposed publicly")]
+               reason = "should not be exposed publicly",
+               issue = "0")]
     pub __kind: FloatErrorKind
 }
 
 #[derive(Debug, Clone, PartialEq)]
 #[unstable(feature = "float_error_internals",
-           reason = "should not be exposed publicly")]
+           reason = "should not be exposed publicly",
+           issue = "0")]
 #[doc(hidden)]
 pub enum FloatErrorKind {
     Empty,
diff --git a/src/libcore/num/uint_macros.rs b/src/libcore/num/uint_macros.rs
index b31d6a73a7f..35e1e988f3e 100644
--- a/src/libcore/num/uint_macros.rs
+++ b/src/libcore/num/uint_macros.rs
@@ -13,11 +13,13 @@
 macro_rules! uint_module { ($T:ty, $T_SIGNED:ty, $bits:expr) => (
 
 #[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function")]
+           reason = "may want to be an associated function",
+           issue = "27753")]
 #[allow(missing_docs)]
 pub const BITS : usize = $bits;
 #[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function")]
+           reason = "may want to be an associated function",
+           issue = "27753")]
 #[allow(missing_docs)]
 pub const BYTES : usize = ($bits / 8);
 
diff --git a/src/libcore/num/wrapping.rs b/src/libcore/num/wrapping.rs
index 8e6ecf3c71e..0e8ced0aa19 100644
--- a/src/libcore/num/wrapping.rs
+++ b/src/libcore/num/wrapping.rs
@@ -9,7 +9,8 @@
 // except according to those terms.
 
 #![allow(missing_docs)]
-#![unstable(feature = "wrapping", reason = "may be removed or relocated")]
+#![unstable(feature = "wrapping", reason = "may be removed or relocated",
+            issue = "27755")]
 
 use super::Wrapping;