about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/polonius
diff options
context:
space:
mode:
authoryukang <moorekang@gmail.com>2024-02-11 14:47:30 +0800
committeryukang <moorekang@gmail.com>2024-02-12 09:51:35 +0800
commit2bcbc16caf17351ef3f8d5e9faee98b48387d589 (patch)
tree81a82bbc409eaccb924493b2f76b4652d10d4aae /compiler/rustc_borrowck/src/polonius
parent42752cbe095b9ad9941f20f22f80788d95f4ab06 (diff)
downloadrust-2bcbc16caf17351ef3f8d5e9faee98b48387d589.tar.gz
rust-2bcbc16caf17351ef3f8d5e9faee98b48387d589.zip
remove a bunch of dead parameters in fn
Diffstat (limited to 'compiler/rustc_borrowck/src/polonius')
-rw-r--r--compiler/rustc_borrowck/src/polonius/loan_invalidations.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/polonius/loan_invalidations.rs b/compiler/rustc_borrowck/src/polonius/loan_invalidations.rs
index 93aae1a7f97..10941cadcbb 100644
--- a/compiler/rustc_borrowck/src/polonius/loan_invalidations.rs
+++ b/compiler/rustc_borrowck/src/polonius/loan_invalidations.rs
@@ -340,7 +340,6 @@ impl<'cx, 'tcx> LoanInvalidationsGenerator<'cx, 'tcx> {
             self,
             self.tcx,
             self.body,
-            location,
             (sd, place),
             self.borrow_set,
             |_| true,