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 faf0852fc1 (diff-3cff50afc88a11e641a6851dd19471a7e6470f05dd0cddaf2271e5cdd9936b73L2125)
This commit is contained in:
parent
c8551d3c63
commit
cf47879b03
1 changed files with 3 additions and 3 deletions
|
|
@ -2916,9 +2916,9 @@ impl<'a, 'ast, 'ra, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue