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.

18 lines
427 B
Rust
Raw Normal View History

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 error_message: String,
}
#[derive(SessionDiagnostic)]
2022-08-23 16:48:46 +00:00
#[diag(driver::rlink_unable_to_deserialize)]
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 {}