pub fn validate_generated_code(code: &str) -> Result<(), String>
Validate that generated code would compile