]> 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 16d84cf81e11db8a74608c2ebd9f3404476e65fa..6479836cbe1179361a8c468d100fde73ed91c2d5 100644 (file)
 
 #![doc(hidden)]
 
-macro_rules! uint_module { ($T:ty, $T_SIGNED: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);
+macro_rules! uint_module { ($T:ty, $bits:expr) => (
 
 #[stable(feature = "rust1", since = "1.0.0")]
 #[allow(missing_docs)]