From e4e377f6e8dfb59ecfba014543508fedb61a9f4e Mon Sep 17 00:00:00 2001 From: bobtwinkles Date: Tue, 6 Mar 2018 00:13:29 -0500 Subject: Remove unused field on BorrowData --- src/librustc_mir/dataflow/impls/borrows.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/librustc_mir/dataflow/impls/borrows.rs b/src/librustc_mir/dataflow/impls/borrows.rs index 3d50b9467c1..8f1c7945339 100644 --- a/src/librustc_mir/dataflow/impls/borrows.rs +++ b/src/librustc_mir/dataflow/impls/borrows.rs @@ -93,8 +93,6 @@ pub struct BorrowData<'tcx> { /// Location where the borrow reservation starts. /// In many cases, this will be equal to the activation location but not always. pub(crate) reserve_location: Location, - /// Point where the borrow is activated. - pub(crate) activate_location: Location, /// What kind of borrow this is pub(crate) kind: mir::BorrowKind, /// The region for which this borrow is live @@ -205,7 +203,7 @@ impl<'a, 'gcx, 'tcx> Borrows<'a, 'gcx, 'tcx> { region, kind); let borrow = BorrowData { - activate_location, kind, region, + kind, region, reserve_location: location, borrowed_place: borrowed_place.clone(), assigned_place: assigned_place.clone(), -- cgit 1.4.1-3-g733a5