use ast; #[derive(Ast)] #[phase(Parse)] #[phase(Desugar)] #[phase(Codegen)] enum Expression { Add(Box, Box), Neg(Box), #[phase()] Sub(Box, Box), } fn main() { }