diff options
| author | bors <bors@rust-lang.org> | 2023-05-07 21:06:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-07 21:06:36 +0000 |
| commit | 3d5a5167101f0f828a2c7a084a3a7631ad1a44ed (patch) | |
| tree | 2ba1f523436ad377f806a1ba2f131277deac45e0 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | dd9df18792cd13b25a54406ef60e3b32ac358272 (diff) | |
| parent | e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa (diff) | |
| download | rust-3d5a5167101f0f828a2c7a084a3a7631ad1a44ed.tar.gz rust-3d5a5167101f0f828a2c7a084a3a7631ad1a44ed.zip | |
Auto merge of #2878 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index bae88d94293..6a9173ab450 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -67,7 +67,8 @@ pub(crate) struct ErrorWritingDEFFile { #[derive(Diagnostic)] #[diag(codegen_llvm_error_calling_dlltool)] -pub(crate) struct ErrorCallingDllTool { +pub(crate) struct ErrorCallingDllTool<'a> { + pub dlltool_path: Cow<'a, str>, pub error: std::io::Error, } @@ -195,6 +196,7 @@ pub(crate) struct FromLlvmOptimizationDiag<'a> { pub line: std::ffi::c_uint, pub column: std::ffi::c_uint, pub pass_name: &'a str, + pub kind: &'a str, pub message: &'a str, } |
