about summary refs log tree commit diff
path: root/src/libstd/num/int_macros.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-18 08:54:13 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-01-18 09:13:10 +1100
commitf125b71c0081acebbfcdd60bfe517d7e4dd388d4 (patch)
tree90eae8576d67dd2d17aab15823d0d029dd595b7a /src/libstd/num/int_macros.rs
parent472dfe74b32bfa855b70bf8ec59beddbd0514be1 (diff)
downloadrust-f125b71c0081acebbfcdd60bfe517d7e4dd388d4.tar.gz
rust-f125b71c0081acebbfcdd60bfe517d7e4dd388d4.zip
Add FIXME comments regarding issue #11526.
Diffstat (limited to 'src/libstd/num/int_macros.rs')
-rw-r--r--src/libstd/num/int_macros.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstd/num/int_macros.rs b/src/libstd/num/int_macros.rs
index 80bc24e2d62..7102a899758 100644
--- a/src/libstd/num/int_macros.rs
+++ b/src/libstd/num/int_macros.rs
@@ -13,11 +13,19 @@
 
 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.
 pub static bits : uint = $bits;
+// FIXME(#11621): Should be deprecated once CTFE is implemented in favour of
+// calling the `mem::size_of` function.
 pub static bytes : uint = ($bits / 8);
 
+// FIXME(#11621): Should be deprecated once CTFE is implemented in favour of
+// calling the `Bounded::min_value` function.
 pub static min_value: $T = (-1 as $T) << (bits - 1);
 // FIXME(#9837): Compute min_value like this so the high bits that shouldn't exist are 0.
+// FIXME(#11621): Should be deprecated once CTFE is implemented in favour of
+// calling the `Bounded::max_value` function.
 pub static max_value: $T = !min_value;
 
 impl CheckedDiv for $T {