pub fn write_new_file(
crate_root: &Path,
rel_path: &str,
contents: &str,
files: &mut Vec<PathBuf>,
) -> Result<(), CodegenError>Expand description
Write a file that must not already exist, recording it in files
(relative to crate_root) for the report.