about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-02-26 04:15:04 +0100
committerGitHub <noreply@github.com>2025-02-26 04:15:04 +0100
commit292c003ce75a0bb07bcdf6b15149e5b16dcf0745 (patch)
tree448aa3966751adde5ff0068ce6e67f087b6f3708 /compiler/rustc_borrowck
parentef539221f629304035d2dab7cedaa2b4de3c107f (diff)
parent8467a7658133fdc274e18f36357768000a3a7519 (diff)
downloadrust-292c003ce75a0bb07bcdf6b15149e5b16dcf0745.tar.gz
rust-292c003ce75a0bb07bcdf6b15149e5b16dcf0745.zip
Rollup merge of #137529 - klensy:unused3, r=lcnr
remove few unused args
Diffstat (limited to 'compiler/rustc_borrowck')
-rw-r--r--compiler/rustc_borrowck/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/lib.rs b/compiler/rustc_borrowck/src/lib.rs
index a98984a4b4c..68e0ab0933e 100644
--- a/compiler/rustc_borrowck/src/lib.rs
+++ b/compiler/rustc_borrowck/src/lib.rs
@@ -648,7 +648,7 @@ impl<'a, 'tcx> ResultsVisitor<'a, 'tcx, Borrowck<'a, 'tcx>> for MirBorrowckCtxt<
             | StatementKind::StorageLive(..) => {}
             // This does not affect borrowck
             StatementKind::BackwardIncompatibleDropHint { place, reason: BackwardIncompatibleDropReason::Edition2024 } => {
-                self.check_backward_incompatible_drop(location, (**place, span), state);
+                self.check_backward_incompatible_drop(location, **place, state);
             }
             StatementKind::StorageDead(local) => {
                 self.access_place(
@@ -1174,7 +1174,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {
     fn check_backward_incompatible_drop(
         &mut self,
         location: Location,
-        (place, place_span): (Place<'tcx>, Span),
+        place: Place<'tcx>,
         state: &BorrowckDomain,
     ) {
         let tcx = self.infcx.tcx;