Emit fake borrows for all tests
I was incorrectly under the impression that this would only lead to duplicates. See `mir-opt/match-arm-scope.rs` (upcomming commit) for a case where we didn't emit a fake borrow of `items.1`.
This commit is contained in:
parent
0f507246e7
commit
b5643f1a49
1 changed files with 1 additions and 1 deletions
|
|
@ -870,7 +870,7 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
|
|||
span,
|
||||
untested_candidates,
|
||||
join_block,
|
||||
&mut None,
|
||||
fake_borrows,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue