diff options
| author | Ralf Jung <post@ralfj.de> | 2025-02-24 07:20:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 07:20:47 +0000 |
| commit | bba96636213e996d712454f24e4b08abf105835f (patch) | |
| tree | a5355f8c6e871a3feb9e502b1ecebe6f6f561f56 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 13ff65e7bf0814f6e4b71b0e94472d122731d949 (diff) | |
| parent | 18e19b9f04fed7363056fc19f5f836c05fd858de (diff) | |
| download | rust-bba96636213e996d712454f24e4b08abf105835f.tar.gz rust-bba96636213e996d712454f24e4b08abf105835f.zip | |
Merge pull request #4203 from RalfJung/rustup
Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 5 |
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; |
