-impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MemForget {
- fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, e: &'tcx Expr<'_>) {
- if let ExprKind::Call(ref path_expr, ref args) = e.kind {
+impl<'tcx> LateLintPass<'tcx> for MemForget {
+ fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) {
+ if let ExprKind::Call(path_expr, args) = e.kind {