fix an incorrect filename for an error message

This commit is contained in:
Yoshiki Matsuda 2022-06-05 22:19:36 +09:00
parent 0928061906
commit 63dec941e1

View File

@ -74,7 +74,7 @@ pub fn encode_and_write_metadata(
std::fs::File::create(&metadata_filename).unwrap_or_else(|e| { std::fs::File::create(&metadata_filename).unwrap_or_else(|e| {
tcx.sess.fatal(&format!( tcx.sess.fatal(&format!(
"failed to create the file {}: {}", "failed to create the file {}: {}",
out_filename.display(), metadata_filename.display(),
e e
)) ))
}); });