diff options
| author | Manuel Drehwald <git@manuel.drehwald.info> | 2025-01-29 21:31:13 -0500 |
|---|---|---|
| committer | Manuel Drehwald <git@manuel.drehwald.info> | 2025-01-29 21:31:13 -0500 |
| commit | 1f30517d40a9a8fe3b89479891c7a167adb75cbd (patch) | |
| tree | 4da71f0331d185e202236924a854190f913815c7 /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | ebcf860e7345e3387b4c6961338c77424b43cbd5 (diff) | |
| download | rust-1f30517d40a9a8fe3b89479891c7a167adb75cbd.tar.gz rust-1f30517d40a9a8fe3b89479891c7a167adb75cbd.zip | |
upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiff
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 5e684632fb2..d8e44b7481a 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -40,6 +40,10 @@ 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] |
