diff options
| author | bobtwinkles <srkoser+github@gmail.com> | 2018-03-06 00:13:29 -0500 |
|---|---|---|
| committer | bobtwinkles <srkoser+github@gmail.com> | 2018-03-09 13:53:35 -0500 |
| commit | e4e377f6e8dfb59ecfba014543508fedb61a9f4e (patch) | |
| tree | 225e7f37cde9efd83c444855d56624a9b3485284 /src | |
| parent | 47d75afd1156fca4f3b3f414b3ca467b0e3f113f (diff) | |
| download | rust-e4e377f6e8dfb59ecfba014543508fedb61a9f4e.tar.gz rust-e4e377f6e8dfb59ecfba014543508fedb61a9f4e.zip | |
Remove unused field on BorrowData
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/dataflow/impls/borrows.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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(), |
