1
Fork 0

ADD - codegen_ssa initial diags translations machinery

ADD - migrate MissingNativeStaticLibrary fatal error
This commit is contained in:
Jhonny Bill Mena 2022-10-04 13:23:53 -04:00
parent e42c4d7218
commit b0b072d747
4 changed files with 12 additions and 0 deletions

View 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,
}

View file

@ -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;