Skip to content

Commit c733a11

Browse files
committed
remove leftovers from a dropped checks
1 parent 95fb634 commit c733a11

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

compiler/rustc_codegen_llvm/messages.ftl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
codegen_llvm_autodiff_unused_args = implementation bug, failed to match all args on llvm level
21
codegen_llvm_autodiff_without_enable = using the autodiff feature requires -Z autodiff=Enable
32
codegen_llvm_autodiff_without_lto = using the autodiff feature requires using fat-lto
43

compiler/rustc_codegen_llvm/src/builder/autodiff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::back::write::llvm_err;
1010
use crate::builder::SBuilder;
1111
use crate::context::SimpleCx;
1212
use crate::declare::declare_simple_fn;
13-
use crate::errors::{AutoDiffUnusedArgs, AutoDiffWithoutEnable, LlvmError};
13+
use crate::errors::{AutoDiffWithoutEnable, LlvmError};
1414
use crate::llvm::AttributePlace::Function;
1515
use crate::llvm::{Metadata, True};
1616
use crate::value::Value;

compiler/rustc_codegen_llvm/src/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for ParseTargetMachineConfig<'_> {
9494
#[diag(codegen_llvm_autodiff_without_lto)]
9595
pub(crate) struct AutoDiffWithoutLTO;
9696

97-
#[derive(Diagnostic)]
98-
#[diag(codegen_llvm_autodiff_unused_args)]
99-
pub(crate) struct AutoDiffUnusedArgs;
100-
10197
#[derive(Diagnostic)]
10298
#[diag(codegen_llvm_autodiff_without_enable)]
10399
pub(crate) struct AutoDiffWithoutEnable;

0 commit comments

Comments
 (0)