diff options
| author | bors <bors@rust-lang.org> | 2024-08-29 07:04:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-29 07:04:04 +0000 |
| commit | f05888d2ae0306e20d4487a18937b3326cacbf80 (patch) | |
| tree | 4e57215de94ec8c05ba1cfad92eb8b08bd238f7e /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 266bb1fd96bc24126031754107cf76ee36ef8b8b (diff) | |
| parent | 26888c31cfc6669c1a89c4b7b7fec269e7c365b1 (diff) | |
| download | rust-f05888d2ae0306e20d4487a18937b3326cacbf80.tar.gz rust-f05888d2ae0306e20d4487a18937b3326cacbf80.zip | |
Auto merge of #17995 - lnicola:sync-from-rust, r=lnicola
minor: sync from downstream
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 94bf0ab34e2..573a8cf7cbe 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -1060,3 +1060,10 @@ pub struct CompilerBuiltinsCannotCall { pub caller: String, pub callee: String, } + +#[derive(Diagnostic)] +#[diag(codegen_ssa_error_creating_import_library)] +pub(crate) struct ErrorCreatingImportLibrary<'a> { + pub lib_name: &'a str, + pub error: String, +} |
