about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
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/diagnostics
parent42752cbe095b9ad9941f20f22f80788d95f4ab06 (diff)
downloadrust-2bcbc16caf17351ef3f8d5e9faee98b48387d589.tar.gz
rust-2bcbc16caf17351ef3f8d5e9faee98b48387d589.zip
remove a bunch of dead parameters in fn
Diffstat (limited to 'compiler/rustc_borrowck/src/diagnostics')
-rw-r--r--compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
index f87269960bc..d764374a5c9 100644
--- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
@@ -3020,7 +3020,6 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
     /// assignment to `x.f`).
     pub(crate) fn report_illegal_reassignment(
         &mut self,
-        _location: Location,
         (place, span): (Place<'tcx>, Span),
         assigned_span: Span,
         err_place: Place<'tcx>,