diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2024-08-20 05:08:35 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2024-08-20 05:08:35 +0000 |
| commit | bd9e7af0fa66bd81b14586d0e7084e1afdee8424 (patch) | |
| tree | 0afec8e5357bcdf55433a8f65c4a9f89dbaff4b3 /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | e5072f0e51fc9dcaf59e9902fdc11ef3cb1f6c67 (diff) | |
| parent | fdf61d499c8a8421ecf98e7924bb87caf43a9938 (diff) | |
| download | rust-bd9e7af0fa66bd81b14586d0e7084e1afdee8424.tar.gz rust-bd9e7af0fa66bd81b14586d0e7084e1afdee8424.zip | |
Merge from rustc
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, +} |
