about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-30 21:33:44 +0000
committerbors <bors@rust-lang.org>2023-09-30 21:33:44 +0000
commitea4a98369aacc19e750b0959c069026a2c28816c (patch)
tree47bfc3c4897d7ea9396e7d3382ad0a9521cb869e /compiler/rustc_codegen_llvm/src/errors.rs
parenta4561491876e1ceffd177652b94e4db093e5b555 (diff)
parent119113114cfe77ccec1fd69d6b6fd42422181978 (diff)
downloadrust-ea4a98369aacc19e750b0959c069026a2c28816c.tar.gz
rust-ea4a98369aacc19e750b0959c069026a2c28816c.zip
Auto merge of #3097 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index 264c273ba30..665d195790c 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -139,6 +139,10 @@ pub(crate) struct LtoDisallowed;
 pub(crate) struct LtoDylib;
 
 #[derive(Diagnostic)]
+#[diag(codegen_llvm_lto_proc_macro)]
+pub(crate) struct LtoProcMacro;
+
+#[derive(Diagnostic)]
 #[diag(codegen_llvm_lto_bitcode_from_rlib)]
 pub(crate) struct LtoBitcodeFromRlib {
     pub llvm_err: String,