1
Fork 0

Rollup merge of #131623 - matthiaskrgr:clippy_sat, r=Nadrieril

misc cleanups
This commit is contained in:
Stuart Cook 2024-10-24 14:19:54 +11:00 committed by GitHub
commit 77f2c57b3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 18 deletions

View file

@ -277,9 +277,9 @@ pub fn create_dump_file<'tcx>(
)
})?;
}
Ok(fs::File::create_buffered(&file_path).map_err(|e| {
fs::File::create_buffered(&file_path).map_err(|e| {
io::Error::new(e.kind(), format!("IO error creating MIR dump file: {file_path:?}; {e}"))
})?)
})
}
///////////////////////////////////////////////////////////////////////////