2022-08-22 21:43:09 +00:00
|
|
|
use rustc_macros::SessionDiagnostic;
|
|
|
|
|
|
|
|
#[derive(SessionDiagnostic)]
|
2022-08-23 16:48:46 +00:00
|
|
|
#[diag(driver::rlink_unable_to_read)]
|
2022-08-22 21:43:09 +00:00
|
|
|
pub(crate) struct RlinkUnableToRead {
|
|
|
|
pub error_message: String,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(SessionDiagnostic)]
|
2022-08-23 16:48:46 +00:00
|
|
|
#[diag(driver::rlink_unable_to_deserialize)]
|
2022-08-22 21:43:09 +00:00
|
|
|
pub(crate) struct RlinkUnableToDeserialize {
|
|
|
|
pub error_message: String,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(SessionDiagnostic)]
|
2022-08-23 16:48:46 +00:00
|
|
|
#[diag(driver::rlink_no_a_file)]
|
|
|
|
pub(crate) struct RlinkNotAFile {}
|