diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-24 00:31:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-24 00:31:41 +0100 |
| commit | d23cb738d255ca1a9834fbe87ba8700b3d7da23f (patch) | |
| tree | d821a3713007d0ed74b75c66b8df0fcca1d11e3e /compiler/rustc_hir_analysis/src/check/compare_method.rs | |
| parent | e08dd9d998a697a8da791ee183db468e4de7aa72 (diff) | |
| parent | 1174aacf598d01b3e063668bb6ecd9c472688d02 (diff) | |
| download | rust-d23cb738d255ca1a9834fbe87ba8700b3d7da23f.tar.gz rust-d23cb738d255ca1a9834fbe87ba8700b3d7da23f.zip | |
Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk
rustc: Remove needless lifetimes
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/compare_method.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/compare_method.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/compare_method.rs b/compiler/rustc_hir_analysis/src/check/compare_method.rs index cddd307c13d..c6bda9b4641 100644 --- a/compiler/rustc_hir_analysis/src/check/compare_method.rs +++ b/compiler/rustc_hir_analysis/src/check/compare_method.rs @@ -1517,8 +1517,8 @@ fn compare_generic_param_kinds<'tcx>( } /// Use `tcx.compare_assoc_const_impl_item_with_trait_item` instead -pub(crate) fn raw_compare_const_impl<'tcx>( - tcx: TyCtxt<'tcx>, +pub(crate) fn raw_compare_const_impl( + tcx: TyCtxt<'_>, (impl_const_item_def, trait_const_item_def): (LocalDefId, DefId), ) -> Result<(), ErrorGuaranteed> { let impl_const_item = tcx.associated_item(impl_const_item_def); |
