Add <'_> where necessary

This commit is contained in:
flip1995
2019-12-22 15:42:41 +01:00
parent 8723eb6035
commit 9632e27487
46 changed files with 105 additions and 105 deletions

View File

@@ -48,7 +48,7 @@ impl CognitiveComplexity {
cx: &'a LateContext<'a, 'tcx>,
kind: FnKind<'tcx>,
decl: &'tcx FnDecl,
body: &'tcx Body,
body: &'tcx Body<'_>,
body_span: Span,
) {
if body_span.from_expansion() {
@@ -117,7 +117,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for CognitiveComplexity {
cx: &LateContext<'a, 'tcx>,
kind: FnKind<'tcx>,
decl: &'tcx FnDecl,
body: &'tcx Body,
body: &'tcx Body<'_>,
span: Span,
hir_id: HirId,
) {