mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Fix the actual bug
This commit is contained in:
parent
0cd9b06125
commit
a935826071
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user