diff options
| author | Ralf Jung <post@ralfj.de> | 2023-05-07 23:05:40 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-05-07 23:05:40 +0200 |
| commit | e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa (patch) | |
| tree | 2ba1f523436ad377f806a1ba2f131277deac45e0 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | ce3a2e5eb9ffe89f5d73d43b32d1108b55325d84 (diff) | |
| parent | e61bb8810b26de043d3b4ba2560e78af71121a0e (diff) | |
| download | rust-e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa.tar.gz rust-e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa.zip | |
Merge from rustc
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, } |
