1
Fork 0

Turn the "no saved object file in work product" ICE into a translatable fatal error

This commit is contained in:
Ben Kimock 2024-02-09 20:22:15 -05:00
parent f4cfd87202
commit 3d4a9f5047
3 changed files with 11 additions and 1 deletions

View file

@ -121,6 +121,12 @@ pub struct NoNatvisDirectory {
pub error: Error,
}
#[derive(Diagnostic)]
#[diag(codegen_ssa_no_saved_object_file)]
pub struct NoSavedObjectFile<'a> {
pub cgu_name: &'a str,
}
#[derive(Diagnostic)]
#[diag(codegen_ssa_copy_path_buf)]
pub struct CopyPathBuf {