about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-31 05:08:39 +0000
committerbors <bors@rust-lang.org>2024-01-31 05:08:39 +0000
commit562d529bcfedfce3b9883304587e9ce0bdbc649a (patch)
tree51b374b1478dbe54bc8e6a0cec8848c1ed8ed995 /compiler/rustc_codegen_gcc/src/errors.rs
parent71f8f4949eb2bde39c88d6d5e4571d0415f59119 (diff)
parent24fece28f63311d26790524bcf581e32cb6cc644 (diff)
downloadrust-562d529bcfedfce3b9883304587e9ce0bdbc649a.tar.gz
rust-562d529bcfedfce3b9883304587e9ce0bdbc649a.zip
Auto merge of #3286 - rust-lang:rustup-2024-01-31, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs
index e9283b19894..cc0fbe46dcc 100644
--- a/compiler/rustc_codegen_gcc/src/errors.rs
+++ b/compiler/rustc_codegen_gcc/src/errors.rs
@@ -35,7 +35,7 @@ pub(crate) enum PossibleFeature<'a> {
 struct ExitCode(Option<i32>);
 
 impl IntoDiagnosticArg for ExitCode {
-    fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static> {
+    fn into_diagnostic_arg(self) -> DiagnosticArgValue {
         let ExitCode(exit_code) = self;
         match exit_code {
             Some(t) => t.into_diagnostic_arg(),