Remove unnecessary lifetime in with_generic_param_rib

Having the same lifetime in two covariant arguments doesn't do anything.

The lifetime was unnecessarilly added in https://github.com/rust-lang/rust/commit/faf0852fc1d01aef18fe8098a0f2f601dbfebd9b#diff-3cff50afc88a11e641a6851dd19471a7e6470f05dd0cddaf2271e5cdd9936b73L2125
This commit is contained in:
Theemathas Chirananthavat
2025-11-14 20:30:26 +07:00
parent c8551d3c63
commit cf47879b03
+3 -3
View File
@@ -2916,9 +2916,9 @@ fn resolve_item(&mut self, item: &'ast Item) {
}
}
fn with_generic_param_rib<'c, F>(
&'c mut self,
params: &'c [GenericParam],
fn with_generic_param_rib<F>(
&mut self,
params: &[GenericParam],
kind: RibKind<'ra>,
binder: NodeId,
generics_kind: LifetimeBinderKind,