mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 05:27:36 +00:00
18 lines
423 B
Rust
18 lines
423 B
Rust
use rustc_macros::SessionDiagnostic;
|
|
|
|
#[derive(SessionDiagnostic)]
|
|
#[diag(driver::rlink_unable_to_read)]
|
|
pub(crate) struct RlinkUnableToRead {
|
|
pub err: std::io::Error,
|
|
}
|
|
|
|
#[derive(SessionDiagnostic)]
|
|
#[diag(driver::rlink_unable_to_deserialize)]
|
|
pub(crate) struct RlinkUnableToDeserialize {
|
|
pub error_message: String,
|
|
}
|
|
|
|
#[derive(SessionDiagnostic)]
|
|
#[diag(driver::rlink_no_a_file)]
|
|
pub(crate) struct RlinkNotAFile;
|