]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/num/uint_macros.rs
std: Clean out deprecated APIs
[rust.git] / src / libcore / num / uint_macros.rs
index 9539a311390f6407e96c7456c61839adf232df46..6479836cbe1179361a8c468d100fde73ed91c2d5 100644 (file)
 
 macro_rules! uint_module { ($T:ty, $bits:expr) => (
 
-#[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function",
-           issue = "27753")]
-#[rustc_deprecated(since = "1.7.0",
-                   reason = "will be replaced via const fn or associated constants")]
-#[allow(missing_docs)]
-pub const BITS : usize = $bits;
-#[unstable(feature = "num_bits_bytes",
-           reason = "may want to be an associated function",
-           issue = "27753")]
-#[rustc_deprecated(since = "1.7.0",
-                   reason = "will be replaced via const fn or associated constants")]
-#[allow(missing_docs)]
-pub const BYTES : usize = ($bits / 8);
-
 #[stable(feature = "rust1", since = "1.0.0")]
 #[allow(missing_docs)]
 pub const MIN: $T = 0 as $T;