about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2025-02-24 09:42:57 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2025-02-24 09:42:57 +0200
commit36e41b57e9aaef20d1056d17ae673be419cb6ef9 (patch)
tree4c68892b6020552136f968d4b287f4af98dc6b86 /compiler/rustc_codegen_llvm/src/errors.rs
parent386d7a5d0a9a8e4273dcdf34c05bca69d7ca600d (diff)
parente0be1a02626abef2878cb7f4aaef7ae409477112 (diff)
downloadrust-36e41b57e9aaef20d1056d17ae673be419cb6ef9.tar.gz
rust-36e41b57e9aaef20d1056d17ae673be419cb6ef9.zip
Merge from rust-lang/rust
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index 97f49256165..4c5a78ca74f 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -92,10 +92,13 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for ParseTargetMachineConfig<'_> {
 
 #[derive(Diagnostic)]
 #[diag(codegen_llvm_autodiff_without_lto)]
-#[note]
 pub(crate) struct AutoDiffWithoutLTO;
 
 #[derive(Diagnostic)]
+#[diag(codegen_llvm_autodiff_without_enable)]
+pub(crate) struct AutoDiffWithoutEnable;
+
+#[derive(Diagnostic)]
 #[diag(codegen_llvm_lto_disallowed)]
 pub(crate) struct LtoDisallowed;