Lift: take self by value
This commit is contained in:
parent
1d2726726f
commit
8752a560b9
15 changed files with 138 additions and 151 deletions
|
@ -686,7 +686,7 @@ impl<'cx, 'tcx> dataflow::ResultsVisitor<'cx, 'tcx> for MirBorrowckCtxt<'cx, 'tc
|
|||
// "Lift" into the tcx -- once regions are erased, this type should be in the
|
||||
// global arenas; this "lift" operation basically just asserts that is true, but
|
||||
// that is useful later.
|
||||
tcx.lift(&drop_place_ty).unwrap();
|
||||
tcx.lift(drop_place_ty).unwrap();
|
||||
|
||||
debug!(
|
||||
"visit_terminator_drop \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue