about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorHaidong Zhang <zhanghaidong@uniontech.com>2025-09-03 17:40:45 +0800
committerHaidong Zhang <zhanghaidong@uniontech.com>2025-09-18 15:26:14 +0800
commit6e74905be29b861bcfd2780a8c81495deffec6c3 (patch)
treeec9020c1007bf3bbd10ec16f4abf79f86d0dfc9b /compiler/rustc_codegen_ssa/src
parent93117677d857bb7c3f12c9dc500d77839f8fb13d (diff)
downloadrust-6e74905be29b861bcfd2780a8c81495deffec6c3.tar.gz
rust-6e74905be29b861bcfd2780a8c81495deffec6c3.zip
Set lto="fat" automatically when compiling with RUSTFLAGS="-Zautodiff=Enable".
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index fb5a8205140..d5c30c5c7a6 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -38,10 +38,6 @@ pub(crate) struct CguNotRecorded<'a> {
 }
 
 #[derive(Diagnostic)]
-#[diag(codegen_ssa_autodiff_without_lto)]
-pub struct AutodiffWithoutLto;
-
-#[derive(Diagnostic)]
 #[diag(codegen_ssa_unknown_reuse_kind)]
 pub(crate) struct UnknownReuseKind {
     #[primary_span]