Start adding enum errors for deserialize_rlink
This commit is contained in:
parent
1c575c5fe0
commit
3f883b850d
7 changed files with 76 additions and 10 deletions
|
@ -1,3 +1,4 @@
|
|||
use rustc_codegen_ssa::session_diagnostic::DeserializeRlinkError;
|
||||
use rustc_macros::SessionDiagnostic;
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
|
@ -9,7 +10,7 @@ pub(crate) struct RlinkUnableToRead {
|
|||
#[derive(SessionDiagnostic)]
|
||||
#[diag(driver::rlink_unable_to_deserialize)]
|
||||
pub(crate) struct RlinkUnableToDeserialize {
|
||||
pub error_message: String,
|
||||
pub err: DeserializeRlinkError,
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue