Use libsyntax to generate Rust code