ADD - codegen_ssa initial diags translations machinery
ADD - migrate MissingNativeStaticLibrary fatal error
This commit is contained in:
parent
e42c4d7218
commit
b0b072d747
4 changed files with 12 additions and 0 deletions
9
compiler/rustc_codegen_ssa/src/errors.rs
Normal file
9
compiler/rustc_codegen_ssa/src/errors.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
//! 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,
|
||||
}
|
|
@ -43,6 +43,7 @@ pub mod base;
|
|||
pub mod common;
|
||||
pub mod coverageinfo;
|
||||
pub mod debuginfo;
|
||||
pub mod errors;
|
||||
pub mod glue;
|
||||
pub mod meth;
|
||||
pub mod mir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue