  use num::flt2dec;
  use ops::Deref;
  use result;
-@@ -985,6 +654,7 @@ impl<'a> Formatter<'a> {
+@@ -991,6 +654,7 @@ impl<'a> Formatter<'a> {
      /// Takes the formatted parts and applies the padding.
      /// Assumes that the caller already has rendered the parts with required precision,
      /// so that `self.precision` can be ignored.

     fn write_formatted_parts(&mut self, formatted: &flt2dec::Formatted) -> Result {
         fn write_bytes(buf: &mut Write, s: &[u8]) -> Result {
             buf.write_str(unsafe { str::from_utf8_unchecked(s) })
@@ -1386,6 +1057,7 @@ impl<'a, T> Pointer for &'a mut T {
     }
 }
 

 #[cfg(not(stage0))]
+#[cfg(not(disable_float))]
 rem_impl_float! { f32 f64 }
@@ -566,7 +534,9 @@
 }
 
 // neg_impl_unsigned! { usize u8 u16 u32 u64 }
