diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-01-31 05:01:22 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-01-31 05:01:22 +0000 |
| commit | 38b8bd3737d26885202811449f290a2a082a672c (patch) | |
| tree | 2645f361836f23dc58276ac2f5345ea08f1a8223 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 63524ee2161dfe6a20f1a757b18e9872b50079bb (diff) | |
| parent | 80deabd0987201e1b8d060400f50e03309a0105e (diff) | |
| download | rust-38b8bd3737d26885202811449f290a2a082a672c.tar.gz rust-38b8bd3737d26885202811449f290a2a082a672c.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 2 |
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(), |
