mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user