diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-06-30 17:22:40 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-06-30 22:49:18 -0700 |
| commit | f7bb31a47a11ea85535024965432bcef90f407f7 (patch) | |
| tree | 68cc47670311a42d3652edca451676e277b63b24 /src/libstd/num | |
| parent | 8bc286f9987963bd40465905a2c89098f0e10601 (diff) | |
| download | rust-f7bb31a47a11ea85535024965432bcef90f407f7.tar.gz rust-f7bb31a47a11ea85535024965432bcef90f407f7.zip | |
libstd: set baseline stability levels.
Earlier commits have established a baseline of `experimental` stability for all crates under the facade (so their contents are considered experimental within libstd). Since `experimental` is `allow` by default, we should use the same baseline stability for libstd itself. This commit adds `experimental` tags to all of the modules defined in `std`, and `unstable` to `std` itself.
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/f32.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/f64.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/float_macros.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/int_macros.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/mod.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/uint_macros.rs | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd/num/f32.rs b/src/libstd/num/f32.rs index bbf1458da21..2b2ffb9f4e2 100644 --- a/src/libstd/num/f32.rs +++ b/src/libstd/num/f32.rs @@ -10,6 +10,7 @@ //! Operations and constants for 32-bits floats (`f32` type) +#![experimental] #![allow(missing_doc)] #![allow(unsigned_negate)] #![doc(primitive = "f32")] diff --git a/src/libstd/num/f64.rs b/src/libstd/num/f64.rs index cfa8534160b..e156d2ce553 100644 --- a/src/libstd/num/f64.rs +++ b/src/libstd/num/f64.rs @@ -10,6 +10,7 @@ //! Operations and constants for 64-bits floats (`f64` type) +#![experimental] #![allow(missing_doc)] #![doc(primitive = "f64")] diff --git a/src/libstd/num/float_macros.rs b/src/libstd/num/float_macros.rs index 3e403219a4f..519de85edde 100644 --- a/src/libstd/num/float_macros.rs +++ b/src/libstd/num/float_macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![experimental] #![macro_escape] #![doc(hidden)] diff --git a/src/libstd/num/int_macros.rs b/src/libstd/num/int_macros.rs index 9b3c9d29cc7..a4200b55a59 100644 --- a/src/libstd/num/int_macros.rs +++ b/src/libstd/num/int_macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![experimental] #![macro_escape] #![doc(hidden)] diff --git a/src/libstd/num/mod.rs b/src/libstd/num/mod.rs index 65056652e3f..27ee1e3ce3b 100644 --- a/src/libstd/num/mod.rs +++ b/src/libstd/num/mod.rs @@ -13,6 +13,7 @@ //! These are implemented for the primitive numeric types in `std::{u8, u16, //! u32, u64, uint, i8, i16, i32, i64, int, f32, f64}`. +#![experimental] #![allow(missing_doc)] use option::Option; diff --git a/src/libstd/num/uint_macros.rs b/src/libstd/num/uint_macros.rs index 19e45b292fb..7f2efe034a2 100644 --- a/src/libstd/num/uint_macros.rs +++ b/src/libstd/num/uint_macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![experimental] #![macro_escape] #![doc(hidden)] #![allow(unsigned_negate)] |
