diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 7429893b51f..a8afb8c2900 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -564,8 +564,7 @@ fn hash_iter_files>( write!(file, " checksum:{checksum_hash} file_len:{file_len}") })?; } - writeln!(file)?; - writeln!(file)?; + write!(file, "\n\n")?; } // Emit a fake target for each input file to the compilation. This