about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-18 05:06:28 +0000
committerbors <bors@rust-lang.org>2024-02-18 05:06:28 +0000
commit90fccaad801a929fc482dbbeca0231aa197de7c7 (patch)
tree2425c84d0a9356e90dde5de808e5e5456df8e8be /compiler/rustc_codegen_llvm/src/errors.rs
parent55f29d22b48c02f185fcfcfb34a1e3c78121cb7c (diff)
parent7a83e2f30d92748640461edbd5812e7b9229e995 (diff)
downloadrust-90fccaad801a929fc482dbbeca0231aa197de7c7.tar.gz
rust-90fccaad801a929fc482dbbeca0231aa197de7c7.zip
Auto merge of #3305 - rust-lang:rustup-2024-02-18, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index 587c5e9e8d2..87e3774068b 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -131,7 +131,7 @@ impl<G: EmissionGuarantee> IntoDiagnostic<'_, G> for TargetFeatureDisableOrEnabl
             diag.span(span);
         };
         if let Some(missing_features) = self.missing_features {
-            diag.subdiagnostic(missing_features);
+            diag.subdiagnostic(dcx, missing_features);
         }
         diag.arg("features", self.features.join(", "));
         diag