// option. This file may not be copied, modified, or distributed
// except according to those terms.
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
trait T {
fn print(&self);
}
-#[deriving(Show)]
+#[derive(Show)]
struct S {
s: int,
}
impl T for S {
fn print(&self) {
- println!("{}", self);
+ println!("{:?}", self);
}
}