rust/compiler/rustc_driver/src/session_diagnostics.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
494 B
Rust
Raw Normal View History

use rustc_codegen_ssa::session_diagnostic::DeserializeRlinkError;
use rustc_macros::SessionDiagnostic;
#[derive(SessionDiagnostic)]
2022-08-23 16:48:46 +00:00
#[diag(driver::rlink_unable_to_read)]
pub(crate) struct RlinkUnableToRead {
pub err: std::io::Error,
}
#[derive(SessionDiagnostic)]
2022-08-23 16:48:46 +00:00
#[diag(driver::rlink_unable_to_deserialize)]
pub(crate) struct RlinkUnableToDeserialize {
pub err: DeserializeRlinkError,
}
#[derive(SessionDiagnostic)]
2022-08-23 16:48:46 +00:00
#[diag(driver::rlink_no_a_file)]
pub(crate) struct RlinkNotAFile;