]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/rec-align-u64.rs
std: Rename Show/String to Debug/Display
[rust.git] / src / test / run-pass / rec-align-u64.rs
index 27941542d000e532366c6d601b01b804fd68a651..eaf76ef5714a8e8033edc2e8f00816114a69bf30 100644 (file)
@@ -22,14 +22,14 @@ mod rusti {
 }
 
 // This is the type with the questionable alignment
-#[derive(Show)]
+#[derive(Debug)]
 struct Inner {
     c64: u64
 }
 
 // This is the type that contains the type with the
 // questionable alignment, for testing
-#[derive(Show)]
+#[derive(Debug)]
 struct Outer {
     c8: u8,
     t: Inner
@@ -95,6 +95,6 @@ pub fn main() {
         // because `Inner`s alignment was 4.
         assert_eq!(mem::size_of::<Outer>(), m::m::size());
 
-        assert_eq!(y, "Outer { c8: 22u8, t: Inner { c64: 44u64 } }".to_string());
+        assert_eq!(y, "Outer { c8: 22, t: Inner { c64: 44 } }".to_string());
     }
 }