pub fn generate_path( input: impl AsRef<Path>, lang: Lang, ) -> Result<String, Error>
Generate code from a .syn input path, validating the import graph rooted at that file.
.syn