Import error creating import library
This commit is contained in:
parent
69d412a073
commit
05ae7ecb74
3 changed files with 15 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
use rustc_errors::fluent;
|
||||
use rustc_errors::DiagnosticBuilder;
|
||||
use rustc_macros::SessionDiagnostic;
|
||||
use rustc_session::SessionDiagnostic;
|
||||
|
||||
pub(crate) enum UnknownCTargetFeature<'a> {
|
||||
|
@ -34,3 +35,10 @@ impl SessionDiagnostic<'_, ()> for UnknownCTargetFeature<'_> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
#[diag(codegen_llvm::error_creating_import_library)]
|
||||
pub(crate) struct ErrorCreatingImportLibrary<'a> {
|
||||
pub lib_name: &'a str,
|
||||
pub error: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue