diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
| commit | 078f2280855dbc31be5e59c555bedb2cce4db2c1 (patch) | |
| tree | fea1741bf8cfc1519ab3cefca1fb673ffdf68816 /compiler/rustc_codegen_gcc | |
| parent | 7e4e9ada0fdc294f4dde9cd4a200ae4aa83c8764 (diff) | |
| parent | 5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98 (diff) | |
| download | rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.tar.gz rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index 1b1ed0b411c..e9283b19894 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/src/errors.rs @@ -119,12 +119,12 @@ impl<G: EmissionGuarantee> IntoDiagnostic<'_, G> for TargetFeatureDisableOrEnabl fluent::codegen_gcc_target_feature_disable_or_enable ); if let Some(span) = self.span { - diag.set_span(span); + diag.span(span); }; if let Some(missing_features) = self.missing_features { diag.subdiagnostic(missing_features); } - diag.set_arg("features", self.features.join(", ")); + diag.arg("features", self.features.join(", ")); diag } } |
