Skip to content

Commit e4e84fd

Browse files
spastorinopnkfelix
authored andcommitted
Let mir reference lifetime be inferred
1 parent 30313c0 commit e4e84fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/dataflow/impls/borrows.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ pub struct Borrows<'a, 'gcx: 'tcx, 'tcx: 'a> {
5353
_nonlexical_regioncx: Rc<RegionInferenceContext<'tcx>>,
5454
}
5555

56-
fn precompute_borrows_out_of_scope<'a, 'tcx>(
57-
mir: &'a Mir<'tcx>,
56+
fn precompute_borrows_out_of_scope<'tcx>(
57+
mir: &Mir<'tcx>,
5858
regioncx: &Rc<RegionInferenceContext<'tcx>>,
5959
borrows_out_of_scope_at_location: &mut FxHashMap<Location, Vec<BorrowIndex>>,
6060
borrow_index: BorrowIndex,

0 commit comments

Comments
 (0)