diff options
| author | Jeremy Stucki <dev@jeremystucki.ch> | 2022-12-20 22:10:40 +0100 |
|---|---|---|
| committer | Jeremy Stucki <dev@jeremystucki.ch> | 2022-12-20 22:10:40 +0100 |
| commit | 3dde32ca974721daa4dfd526226d6c9e707fd8af (patch) | |
| tree | 5d6407e56538d2c5e2e0a5a8e8ed9981ec95adda /compiler/rustc_macros/src/diagnostics/subdiagnostic.rs | |
| parent | 65bd2a6a73d6a74fb1266a1d96b23de8810a5fb2 (diff) | |
| download | rust-3dde32ca974721daa4dfd526226d6c9e707fd8af.tar.gz rust-3dde32ca974721daa4dfd526226d6c9e707fd8af.zip | |
rustc: Remove needless lifetimes
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/subdiagnostic.rs')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/subdiagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs b/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs index 446aebe4f83..767db367322 100644 --- a/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs +++ b/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs @@ -29,7 +29,7 @@ impl SubdiagnosticDeriveBuilder { Self { diag, f } } - pub(crate) fn into_tokens<'a>(self, mut structure: Structure<'a>) -> TokenStream { + pub(crate) fn into_tokens(self, mut structure: Structure<'_>) -> TokenStream { let implementation = { let ast = structure.ast(); let span = ast.span().unwrap(); |
