]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/show-boxed-slice.rs
std: Rename Show/String to Debug/Display
[rust.git] / src / test / run-pass / show-boxed-slice.rs
index e0d005a485bc0c15cdff2983fbf3b5146798b8cb..f496765edca9882266cb850a8fc4399d93018680 100644 (file)
@@ -8,7 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[derive(Show)]
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
+#[derive(Debug)]
 struct Foo(Box<[u8]>);
 
 pub fn main() {