// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#![feature(macro_rules)]
-
use std::mem::size_of;
-#[deriving(PartialEq, Show)]
+#[derive(PartialEq, Debug)]
enum Either<T, U> { Left(T), Right(U) }
macro_rules! check {
static S: $t = $e;
let v: $t = $e;
assert_eq!(S, v);
- assert_eq!(format!("{}", v).as_slice(), $s);
- assert_eq!(format!("{}", S).as_slice(), $s);
+ assert_eq!(format!("{:?}", v).as_slice(), $s);
+ assert_eq!(format!("{:?}", S).as_slice(), $s);
});*
}}
}