about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-10-29 01:34:06 +0000
committerMichael Goulet <michael@errs.io>2024-10-29 01:34:06 +0000
commit599ffab6cd240486fe63d22b01504b24938fc384 (patch)
treead1762c98c2109c18e3eb46d299f795d8d4fee29 /compiler/rustc_borrowck/src
parent9f57edf2e261ade3c926d69459162057f15164d6 (diff)
downloadrust-599ffab6cd240486fe63d22b01504b24938fc384.tar.gz
rust-599ffab6cd240486fe63d22b01504b24938fc384.zip
Remove region from adjustments
Diffstat (limited to 'compiler/rustc_borrowck/src')
-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 c687be69b1a..054e09af7ca 100644
--- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
@@ -1524,7 +1524,6 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {
                 matches!(
                     adj.kind,
                     ty::adjustment::Adjust::Borrow(ty::adjustment::AutoBorrow::Ref(
-                        _,
                         ty::adjustment::AutoBorrowMutability::Not
                             | ty::adjustment::AutoBorrowMutability::Mut {
                                 allow_two_phase_borrow: ty::adjustment::AllowTwoPhase::No