Skip to content

Commit e4e377f

Browse files
Remove unused field on BorrowData
1 parent 47d75af commit e4e377f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustc_mir/dataflow/impls/borrows.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ pub struct BorrowData<'tcx> {
9393
/// Location where the borrow reservation starts.
9494
/// In many cases, this will be equal to the activation location but not always.
9595
pub(crate) reserve_location: Location,
96-
/// Point where the borrow is activated.
97-
pub(crate) activate_location: Location,
9896
/// What kind of borrow this is
9997
pub(crate) kind: mir::BorrowKind,
10098
/// The region for which this borrow is live
@@ -205,7 +203,7 @@ impl<'a, 'gcx, 'tcx> Borrows<'a, 'gcx, 'tcx> {
205203
region,
206204
kind);
207205
let borrow = BorrowData {
208-
activate_location, kind, region,
206+
kind, region,
209207
reserve_location: location,
210208
borrowed_place: borrowed_place.clone(),
211209
assigned_place: assigned_place.clone(),

0 commit comments

Comments
 (0)