inline a function that is only used in clippy
This commit is contained in:
parent
7895b98712
commit
96ff004a68
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ fn check_fn_inner<'tcx>(
|
||||||
_ => None,
|
_ => None,
|
||||||
});
|
});
|
||||||
for bound in lifetimes {
|
for bound in lifetimes {
|
||||||
if !bound.is_static() && !bound.is_elided() {
|
if bound.res != LifetimeName::Static && !bound.is_elided() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue