Fix the actual bug

This commit is contained in:
Niki4tap 2022-12-23 00:57:28 +03:00
parent 0cd9b06125
commit a935826071

View File

@ -295,7 +295,7 @@ fn last_statement_borrows<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>)
{
ControlFlow::Break(())
} else {
ControlFlow::Continue(Descend::from(!expr.span.from_expansion()))
ControlFlow::Continue(Descend::from(!e.span.from_expansion()))
}
})
.is_some()