]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/implicit_return.rs
modify code
[rust.git] / clippy_lints / src / implicit_return.rs
index 07caeada80d003fa96f48474a741c22bacf121d0..d650d6e9a85871881a680e755c6fc7def02fb345 100644 (file)
@@ -94,8 +94,8 @@ fn get_call_site(span: Span, ctxt: SyntaxContext) -> Option<Span> {
 }
 
 fn lint_implicit_returns(
-    cx: &LateContext<'tcx>,
-    expr: &'tcx Expr<'_>,
+    cx: &LateContext<'_>,
+    expr: &Expr<'_>,
     // The context of the function body.
     ctxt: SyntaxContext,
     // Whether the expression is from a macro expansion.