]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/boxed_test.rs
Fallout in libstd: remove impls now considered to conflict.
[rust.git] / src / liballoc / boxed_test.rs
index 682d5f407c4eaeaf02f23666963cda07a0e63e69..fc44ac4eac628b2eba405276caedb542f5d49bff 100644 (file)
@@ -55,17 +55,17 @@ fn test_show() {
     let b = Box::new(Test) as Box<Any>;
     let a_str = format!("{:?}", a);
     let b_str = format!("{:?}", b);
-    assert_eq!(a_str, "Box<Any>");
-    assert_eq!(b_str, "Box<Any>");
+    assert_eq!(a_str, "Any");
+    assert_eq!(b_str, "Any");
 
     static EIGHT: usize = 8;
     static TEST: Test = Test;
     let a = &EIGHT as &Any;
     let b = &TEST as &Any;
     let s = format!("{:?}", a);
-    assert_eq!(s, "&Any");
+    assert_eq!(s, "Any");
     let s = format!("{:?}", b);
-    assert_eq!(s, "&Any");
+    assert_eq!(s, "Any");
 }
 
 #[test]