Turn the "no saved object file in work product" ICE into a translatable fatal error
This commit is contained in:
parent
f4cfd87202
commit
3d4a9f5047
3 changed files with 11 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue