Files
rust/compiler/rustc_codegen_ssa/src/errors.rs

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

16 lines
374 B
Rust
Raw Normal View History

//! Errors emitted by codegen_ssa
use rustc_macros::SessionDiagnostic;
#[derive(SessionDiagnostic)]
#[diag(codegen_ssa::missing_native_static_library)]
pub struct MissingNativeStaticLibrary<'a> {
pub library_name: &'a str,
}
#[derive(SessionDiagnostic)]
#[diag(codegen_ssa::lib_def_write_failure)]
pub struct LibDefWriteFailure {
pub error_description: String,
}